rust/src/test/ui/coherence/coherence-inherited-assoc-ty-cycle-err.stderr

17 lines
546 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0391]: cycle detected when processing `Trait`
2018-12-25 09:56:47 -06:00
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
2018-08-08 07:28:26 -05:00
|
LL | trait Trait<T> { type Assoc; }
| ^^^^^^^^^^^^^^
|
= note: ...which again requires processing `Trait`, completing the cycle
note: cycle used when coherence checking all impls of trait `Trait`
2018-12-25 09:56:47 -06:00
--> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
2018-08-08 07:28:26 -05:00
|
LL | trait Trait<T> { type Assoc; }
| ^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0391`.