Remove rustdoc tests which no longer parse

This commit is contained in:
Michael Goulet 2024-07-11 21:59:28 -04:00
parent de88bc5c89
commit 79d1ac66a8
3 changed files with 0 additions and 10 deletions

View file

@ -146,8 +146,6 @@ trait T: ~ const Super {}
const fn not_quite_const<S: ~ const T>() -> i32 { <S as T>::CONST }
struct S<T:~ const ? Sized>(std::marker::PhantomData<T>);
impl ~ const T {}
fn apit(_: impl ~ const T) {}

View file

@ -3,9 +3,3 @@ where
i32: !Copy,
{
}
fn maybe_const_negative()
where
i32: ~const !Copy,
{
}

View file

@ -153,8 +153,6 @@ const fn not_quite_const<S: ~const T>() -> i32 {
<S as T>::CONST
}
struct S<T: ~const ?Sized>(std::marker::PhantomData<T>);
impl ~const T {}
fn apit(_: impl ~const T) {}