fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
602 B16 linesraw
1error[E0391]: cycle detected when building specialization graph of trait `Trait`
2  --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:8:1
3   |
4LL | trait Trait<T> { type Assoc; }
5   | ^^^^^^^^^^^^^^
6   |
7   = note: ...which again requires building specialization graph of trait `Trait`, completing the cycle
8note: cycle used when coherence checking all impls of trait `Trait`
9  --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:8:1
10   |
11LL | trait Trait<T> { type Assoc; }
12   | ^^^^^^^^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.