2020-12-03 23:10:55 +00:00
|
|
|
error[E0391]: cycle detected when computing the super predicates of `Chromosome`
|
|
|
|
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
|
|
|
|
|
|
|
|
|
LL | trait Chromosome: Chromosome {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: ...which requires computing the super traits of `Chromosome`...
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/cycle-trait-supertrait-direct.rs:3:19
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | trait Chromosome: Chromosome {
|
2018-09-16 17:15:49 +00:00
|
|
|
| ^^^^^^^^^^
|
2020-12-03 23:10:55 +00:00
|
|
|
= note: ...which again requires computing the super predicates of `Chromosome`, completing the cycle
|
2019-01-01 18:08:25 +00:00
|
|
|
note: cycle used when collecting item types in top-level module
|
|
|
|
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
|
|
|
|
|
|
2022-07-23 12:42:54 +00:00
|
|
|
LL | / trait Chromosome: Chromosome {
|
|
|
|
LL | |
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0391`.
|