1 error[E0391]: cycle detected when computing the super predicates of `T1`
2 --> $DIR/issue-12511.rs:1:1
7 note: ...which requires computing the super traits of `T1`...
8 --> $DIR/issue-12511.rs:1:12
12 note: ...which requires computing the super predicates of `T2`...
13 --> $DIR/issue-12511.rs:5:1
17 note: ...which requires computing the super traits of `T2`...
18 --> $DIR/issue-12511.rs:5:12
22 = note: ...which again requires computing the super predicates of `T1`, completing the cycle
23 note: cycle used when collecting item types in top-level module
24 --> $DIR/issue-12511.rs:1:1
26 LL | / trait T1 : T2 {
31 error: aborting due to previous error
33 For more information about this error, try `rustc --explain E0391`.