fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
827 B22 linesraw
1error[E0391]: cycle detected when computing the super predicates of `B`
2  --> $DIR/cycle-trait-supertrait-indirect.rs:7:10
3   |
4LL | trait B: C {
5   |          ^
6   |
7note: ...which requires computing the super predicates of `C`...
8  --> $DIR/cycle-trait-supertrait-indirect.rs:11:10
9   |
10LL | trait C: B { }
11   |          ^
12   = note: ...which again requires computing the super predicates of `B`, completing the cycle
13note: cycle used when computing the super predicates of `A`
14  --> $DIR/cycle-trait-supertrait-indirect.rs:4:10
15   |
16LL | trait A: B {
17   |          ^
18   = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
19
20error: aborting due to previous error
21
22For more information about this error, try `rustc --explain E0391`.