From 163d26ea9d4ba35242974254a9281d0714c76705 Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Thu, 11 Jul 2024 21:59:28 -0400 Subject: [PATCH] Remove rustdoc tests which no longer parse --- tests/source/type.rs | 2 -- tests/target/negative-bounds.rs | 6 ------ tests/target/type.rs | 2 -- 3 files changed, 10 deletions(-) diff --git a/tests/source/type.rs b/tests/source/type.rs index 61ef73a3cab..7a232f85198 100644 --- a/tests/source/type.rs +++ b/tests/source/type.rs @@ -146,8 +146,6 @@ trait T: ~ const Super {} const fn not_quite_const() -> i32 { ::CONST } -struct S(std::marker::PhantomData); - impl ~ const T {} fn apit(_: impl ~ const T) {} diff --git a/tests/target/negative-bounds.rs b/tests/target/negative-bounds.rs index 4fb35cccf66..9fcb86ef4a4 100644 --- a/tests/target/negative-bounds.rs +++ b/tests/target/negative-bounds.rs @@ -3,9 +3,3 @@ fn negative() i32: !Copy, { } - -fn maybe_const_negative() -where - i32: ~const !Copy, -{ -} diff --git a/tests/target/type.rs b/tests/target/type.rs index c789ecb055a..325adb52f3f 100644 --- a/tests/target/type.rs +++ b/tests/target/type.rs @@ -153,8 +153,6 @@ const fn not_quite_const() -> i32 { ::CONST } -struct S(std::marker::PhantomData); - impl ~const T {} fn apit(_: impl ~const T) {}