]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | error[E0391]: cycle detected when computing the super traits of `Baz` with associated type name `Item` |
cdc7bbd5 | 2 | --> $DIR/ambiguous-associated-type2.rs:7:1 |
6a06907d XL |
3 | | |
4 | LL | trait Baz: Foo + Bar<Self::Item> {} | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
94222f64 | 7 | = note: ...which immediately requires computing the super traits of `Baz` with associated type name `Item` again |
353b0b11 | 8 | note: cycle used when computing the super predicates of `Baz` |
cdc7bbd5 | 9 | --> $DIR/ambiguous-associated-type2.rs:7:1 |
6a06907d XL |
10 | | |
11 | LL | trait Baz: Foo + Bar<Self::Item> {} | |
12 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
13 | ||
14 | error: aborting due to previous error | |
15 | ||
16 | For more information about this error, try `rustc --explain E0391`. |