rust/src/test/ui/cycle-trait/cycle-trait-supertrait-direct.stderr

12 lines
413 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0391]: cycle detected when computing the supertraits of `Chromosome`
--> $DIR/cycle-trait-supertrait-direct.rs:13:19
2018-08-08 14:28:26 +02:00
|
LL | trait Chromosome: Chromosome {
| ^^^^^^^^^^
2018-08-08 14:28:26 +02:00
|
= note: ...which again requires computing the supertraits of `Chromosome`, completing the cycle
error: aborting due to previous error
For more information about this error, try `rustc --explain E0391`.