fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
624 B21 linesraw
1error[E0391]: cycle detected when computing the supertraits of `T1`
2  --> $DIR/issue-12511.rs:1:12
3   |
4LL | trait T1 : T2 {
5   |            ^^
6   |
7note: ...which requires computing the supertraits of `T2`...
8  --> $DIR/issue-12511.rs:5:12
9   |
10LL | trait T2 : T1 {
11   |            ^^
12   = note: ...which again requires computing the supertraits of `T1`, completing the cycle
13note: cycle used when collecting item types in top-level module
14  --> $DIR/issue-12511.rs:1:1
15   |
16LL | trait T1 : T2 {
17   | ^^^^^^^^^^^^^
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0391`.