Move assertion-free rustdoc ice tests to rustdoc-ui

This commit is contained in:
Michael Howell 2024-07-12 18:16:30 -07:00
parent 17419f6499
commit 42ee400b0f
3 changed files with 2 additions and 0 deletions

View file

@ -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>;
}

View file

@ -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> {}

View file

@ -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;