rust/tests/ui/cycle-trait/cycle-trait-supertrait-direct.stderr

20 lines
743 B
Plaintext
Raw Normal View History

2023-07-13 02:59:01 +00:00
error[E0391]: cycle detected when computing the super predicates 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 {
| ^^^^^^^^^^
|
= note: ...which immediately requires computing the super predicates of `Chromosome` again
note: cycle used when checking that `Chromosome` is well-formed
2019-01-01 18:08:25 +00:00
--> $DIR/cycle-trait-supertrait-direct.rs:3:1
|
2022-07-23 12:42:54 +00:00
LL | / trait Chromosome: Chromosome {
LL | |
LL | | }
| |_^
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
2018-08-08 12:28:26 +00:00
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00
For more information about this error, try `rustc --explain E0391`.