]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-20772.stderr
Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup
[rust.git] / src / test / ui / issues / issue-20772.stderr
1 error[E0391]: cycle detected when computing the super traits of `T` with associated type name `Item`
2   --> $DIR/issue-20772.rs:1:1
3    |
4 LL | / trait T : Iterator<Item=Self::Item>
5 LL | |
6 LL | | {}
7    | |__^
8    |
9    = note: ...which immediately requires computing the super traits of `T` with associated type name `Item` again
10 note: cycle used when computing the super traits of `T`
11   --> $DIR/issue-20772.rs:1:1
12    |
13 LL | / trait T : Iterator<Item=Self::Item>
14 LL | |
15 LL | | {}
16    | |__^
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0391`.