fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
599 B16 linesraw
1error[E0391]: cycle detected when computing the supertraits of `Chromosome`
2  --> $DIR/cycle-trait-supertrait-direct.rs:3:19
3   |
4LL | trait Chromosome: Chromosome {
5   |                   ^^^^^^^^^^
6   |
7   = note: ...which again requires computing the supertraits of `Chromosome`, completing the cycle
8note: cycle used when collecting item types in top-level module
9  --> $DIR/cycle-trait-supertrait-direct.rs:3:1
10   |
11LL | trait Chromosome: Chromosome {
12   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.