about summary refs log tree commit diff
path: root/tests/rustdoc
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-07-12 18:16:30 -0700
committerMichael Howell <michael@notriddle.com>2024-07-12 18:18:30 -0700
commit42ee400b0ffa7eeffb51e5b1e2e3fbcc6a130e0c (patch)
tree0870ee46fd7e716b7cf0ae2dbc9a1a785db5389d /tests/rustdoc
parent17419f6499546443fd311cc81a0d44ae233c306f (diff)
downloadrust-42ee400b0ffa7eeffb51e5b1e2e3fbcc6a130e0c.tar.gz
rust-42ee400b0ffa7eeffb51e5b1e2e3fbcc6a130e0c.zip
Move assertion-free rustdoc ice tests to rustdoc-ui
Diffstat (limited to 'tests/rustdoc')
-rw-r--r--tests/rustdoc/ice-assoc-type-loop-102154.rs15
-rw-r--r--tests/rustdoc/ice-method-where-clause-circular-100620.rs21
-rw-r--r--tests/rustdoc/ice-unresolved-import-100241.rs14
3 files changed, 0 insertions, 50 deletions
diff --git a/tests/rustdoc/ice-assoc-type-loop-102154.rs b/tests/rustdoc/ice-assoc-type-loop-102154.rs
deleted file mode 100644
index 58cabe76927..00000000000
--- a/tests/rustdoc/ice-assoc-type-loop-102154.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// https://github.com/rust-lang/rust/issues/102154
-
-trait A<Y, N> {
-    type B;
-}
-type MaybeBox<T> = <T as A<T, Box<T>>>::B;
-struct P {
-    t: MaybeBox<P>
-}
-impl<Y, N> A<Y, N> for P {
-    type B = N;
-}
-fn main() {
-    let t: MaybeBox<P>;
-}
diff --git a/tests/rustdoc/ice-method-where-clause-circular-100620.rs b/tests/rustdoc/ice-method-where-clause-circular-100620.rs
deleted file mode 100644
index 39d70bab29e..00000000000
--- a/tests/rustdoc/ice-method-where-clause-circular-100620.rs
+++ /dev/null
@@ -1,21 +0,0 @@
-// https://github.com/rust-lang/rust/issues/100620
-
-pub trait Bar<S> {}
-
-pub trait Qux<T> {}
-
-pub trait Foo<T, S> {
-    fn bar()
-    where
-        T: Bar<S>,
-    {
-    }
-}
-
-pub struct Concrete;
-
-impl<S> Foo<(), S> for Concrete {}
-
-impl<T, S> Bar<S> for T where S: Qux<T> {}
-
-impl<T, S> Qux<T> for S where T: Bar<S> {}
diff --git a/tests/rustdoc/ice-unresolved-import-100241.rs b/tests/rustdoc/ice-unresolved-import-100241.rs
deleted file mode 100644
index eef4b8355bf..00000000000
--- a/tests/rustdoc/ice-unresolved-import-100241.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-//! See [`S`].
-
-// Check that this isn't an ICE
-//@ should-fail
-
-// https://github.com/rust-lang/rust/issues/100241
-
-mod foo {
-    pub use inner::S;
-    //~^ ERROR unresolved imports `inner`, `foo::S`
-}
-
-use foo::*;
-use foo::S;