2020-12-03 23:10:55 +00:00
|
|
|
error[E0391]: cycle detected when computing the super traits of `T` with associated type name `Item`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-20772.rs:1:1
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2022-02-13 15:27:59 +00:00
|
|
|
LL | trait T : Iterator<Item=Self::Item>
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2021-07-21 01:06:39 +00:00
|
|
|
= note: ...which immediately requires computing the super traits of `T` with associated type name `Item` again
|
2020-12-03 23:10:55 +00:00
|
|
|
note: cycle used when computing the super traits of `T`
|
2019-01-01 18:08:25 +00:00
|
|
|
--> $DIR/issue-20772.rs:1:1
|
|
|
|
|
|
2022-02-13 15:27:59 +00:00
|
|
|
LL | trait T : Iterator<Item=Self::Item>
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2019-04-05 11:22:13 +00:00
|
|
|
error: aborting due to previous error
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2019-04-05 11:22:13 +00:00
|
|
|
For more information about this error, try `rustc --explain E0391`.
|