fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
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`.