rust/tests/ui/issues/issue-20772.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
773 B
Plaintext
Raw Normal View History

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