1 error[E0391]: cycle detected when computing the super traits of `T` with associated type name `Item`
2 --> $DIR/issue-20772.rs:1:1
4 LL | trait T : Iterator<Item=Self::Item>
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: ...which immediately requires computing the super traits of `T` with associated type name `Item` again
8 note: cycle used when computing the super predicates of `T`
9 --> $DIR/issue-20772.rs:1:1
11 LL | trait T : Iterator<Item=Self::Item>
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0391`.