fork/rust

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

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

master
771 B17 linesraw
1error[E0391]: cycle detected when computing the super traits of `T` with associated type name `Item`
2  --> $DIR/issue-20772.rs:1:1
3   |
4LL | trait T : Iterator<Item=Self::Item>
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: ...which immediately requires computing the super traits of `T` with associated type name `Item` again
8note: cycle used when computing the super predicates of `T`
9  --> $DIR/issue-20772.rs:1:1
10   |
11LL | trait T : Iterator<Item=Self::Item>
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`.