]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | error[E0391]: cycle detected when computing the super traits of `T` with associated type name `Item` |
0731742a | 2 | --> $DIR/issue-20772.rs:1:1 |
8faf50e0 XL |
3 | | |
4 | LL | / trait T : Iterator<Item=Self::Item> | |
532ac7d7 | 5 | LL | | |
8faf50e0 XL |
6 | LL | | {} |
7 | | |__^ | |
8 | | | |
94222f64 | 9 | = note: ...which immediately requires computing the super traits of `T` with associated type name `Item` again |
6a06907d | 10 | note: cycle used when computing the super traits of `T` |
0731742a XL |
11 | --> $DIR/issue-20772.rs:1:1 |
12 | | | |
13 | LL | / trait T : Iterator<Item=Self::Item> | |
532ac7d7 | 14 | LL | | |
0731742a XL |
15 | LL | | {} |
16 | | |__^ | |
8faf50e0 | 17 | |
dc9dc135 | 18 | error: aborting due to previous error |
8faf50e0 | 19 | |
dc9dc135 | 20 | For more information about this error, try `rustc --explain E0391`. |