Remove rustdoc tests which no longer parse

This commit is contained in:
Michael Goulet 2024-07-11 21:59:28 -04:00
parent 88f98c2929
commit 163d26ea9d
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 @@ fn negative()
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) {}