Skip to content

Commit 163d26e

Browse files
Remove rustdoc tests which no longer parse
1 parent 88f98c2 commit 163d26e

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

tests/source/type.rs

-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ trait T: ~ const Super {}
146146

147147
const fn not_quite_const<S: ~ const T>() -> i32 { <S as T>::CONST }
148148

149-
struct S<T:~ const ? Sized>(std::marker::PhantomData<T>);
150-
151149
impl ~ const T {}
152150

153151
fn apit(_: impl ~ const T) {}

tests/target/negative-bounds.rs

-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,3 @@ where
33
i32: !Copy,
44
{
55
}
6-
7-
fn maybe_const_negative()
8-
where
9-
i32: ~const !Copy,
10-
{
11-
}

tests/target/type.rs

-2
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ const fn not_quite_const<S: ~const T>() -> i32 {
153153
<S as T>::CONST
154154
}
155155

156-
struct S<T: ~const ?Sized>(std::marker::PhantomData<T>);
157-
158156
impl ~const T {}
159157

160158
fn apit(_: impl ~const T) {}

0 commit comments

Comments
 (0)