fork/rust

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

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

master
667 B17 linesraw
1error[E0391]: cycle detected when computing the super predicates of `A`
2  --> $DIR/cyclic-trait-resolution.rs:1:14
3   |
4LL | trait A: B + A {}
5   |              ^
6   |
7   = note: ...which immediately requires computing the super predicates of `A` again
8note: cycle used when collecting item types in top-level module
9  --> $DIR/cyclic-trait-resolution.rs:1:1
10   |
11LL | trait A: B + A {}
12   | ^^^^^^^^^^^^^^^^^
13   = 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
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0391`.