2020-02-08 00:27:07 +01:00
|
|
|
error[E0391]: cycle detected when building specialization graph of trait `Trait`
|
2019-10-26 17:28:02 +02:00
|
|
|
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:8:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | trait Trait<T> { type Assoc; }
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-08 00:27:07 +01:00
|
|
|
= note: ...which again requires building specialization graph of trait `Trait`, completing the cycle
|
2018-08-08 14:28:26 +02:00
|
|
|
note: cycle used when coherence checking all impls of trait `Trait`
|
2019-10-26 17:28:02 +02:00
|
|
|
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:8:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | trait Trait<T> { type Assoc; }
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0391`.
|