]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12511.stderr
Rollup merge of #57467 - JohnTitor:implement-the-check-attribute-1, r=oli-obk
[rust.git] / src / test / ui / issues / issue-12511.stderr
1 error[E0391]: cycle detected when computing the supertraits of `T1`
2   --> $DIR/issue-12511.rs:1:12
3    |
4 LL | trait T1 : T2 {
5    |            ^^
6    |
7 note: ...which requires computing the supertraits of `T2`...
8   --> $DIR/issue-12511.rs:5:12
9    |
10 LL | trait T2 : T1 {
11    |            ^^
12    = note: ...which again requires computing the supertraits of `T1`, completing the cycle
13 note: cycle used when collecting item types in top-level module
14   --> $DIR/issue-12511.rs:1:1
15    |
16 LL | trait T1 : T2 {
17    | ^^^^^^^^^^^^^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0391`.