]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cycle-trait/cycle-trait-supertrait-direct.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / cycle-trait / cycle-trait-supertrait-direct.stderr
1 error[E0391]: cycle detected when computing the super predicates of `Chromosome`
2   --> $DIR/cycle-trait-supertrait-direct.rs:3:1
3    |
4 LL | trait Chromosome: Chromosome {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: ...which requires computing the super traits of `Chromosome`...
8   --> $DIR/cycle-trait-supertrait-direct.rs:3:19
9    |
10 LL | trait Chromosome: Chromosome {
11    |                   ^^^^^^^^^^
12    = note: ...which again requires computing the super predicates of `Chromosome`, completing the cycle
13 note: cycle used when collecting item types in top-level module
14   --> $DIR/cycle-trait-supertrait-direct.rs:3:1
15    |
16 LL | trait Chromosome: Chromosome {
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0391`.