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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
78 B
Rust
Raw Normal View History

trait T1 : T2 {
2018-04-15 21:21:00 +00:00
//~^ ERROR cycle detected
}
trait T2 : T1 {
}
fn main() { }