Debian Codegraph @

gcc/testsuite/rust/compile/issue-1589.rs

raw
1 #[lang = "sized"]
2 pub trait Sized {}
3
4 pub trait A: B {}
5 // { dg-error "cycle detected when computing the super predicates of .A." "" { target *-*-* } .-1 }
6
7 pub trait B: A {}
8 // { dg-error "cycle detected when computing the super predicates of .B." "" { target *-*-* } .-1 }