blob: 68a65715a8624b4dad871ddb28f152ab558c9435 [file] [edit]
// Adapted from rust-lang/rust#58813
//@ revisions: rpass1 bfail2
#[cfg(rpass1)]
pub trait T2 {}
#[cfg(bfail2)]
pub trait T2: T1 {}
//[bfail2]~^ ERROR cycle detected when computing the super clauses of `T2`
pub trait T1: T2 {}
fn main() {}