summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-12511.rs
blob: ea83e3fd9dc2f4d39cbb9f10d85efba4d3809cd5 (plain)
1
2
3
4
5
6
7
8
trait T1 : T2 {
//~^ ERROR cycle detected
}

trait T2 : T1 {
}

fn main() { }