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