rust/tests/ui/cycle-trait/issue-12511.rs

9 lines
78 B
Rust

trait T1 : T2 {
//~^ ERROR cycle detected
}
trait T2 : T1 {
}
fn main() { }