Move assertion-free rustdoc ice tests to rustdoc-ui
This commit is contained in:
parent
17419f6499
commit
42ee400b0f
3 changed files with 2 additions and 0 deletions
22
tests/rustdoc-ui/ice-method-where-clause-circular-100620.rs
Normal file
22
tests/rustdoc-ui/ice-method-where-clause-circular-100620.rs
Normal file
|
@ -0,0 +1,22 @@
|
|||
//@ check-pass
|
||||
// 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> {}
|
Loading…
Add table
Add a link
Reference in a new issue