We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88f98c2 commit 163d26eCopy full SHA for 163d26e
tests/source/type.rs
@@ -146,8 +146,6 @@ trait T: ~ const Super {}
146
147
const fn not_quite_const<S: ~ const T>() -> i32 { <S as T>::CONST }
148
149
-struct S<T:~ const ? Sized>(std::marker::PhantomData<T>);
150
-
151
impl ~ const T {}
152
153
fn apit(_: impl ~ const T) {}
tests/target/negative-bounds.rs
@@ -3,9 +3,3 @@ where
3
i32: !Copy,
4
{
5
}
6
7
-fn maybe_const_negative()
8
-where
9
- i32: ~const !Copy,
10
-{
11
-}
tests/target/type.rs
@@ -153,8 +153,6 @@ const fn not_quite_const<S: ~const T>() -> i32 {
<S as T>::CONST
154
155
156
-struct S<T: ~const ?Sized>(std::marker::PhantomData<T>);
157
158
impl ~const T {}
159
160
fn apit(_: impl ~const T) {}
0 commit comments