rust/tests/ui/cycle-trait/issue-12511.rs
2023-05-08 17:58:01 -03:00

9 lines
78 B
Rust

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