fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
548 B16 linesraw
1error[E0391]: cycle detected when processing `Trait`
2  --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:12:1
3   |
4LL | trait Trait<T> { type Assoc; }
5   | ^^^^^^^^^^^^^^
6   |
7   = note: ...which again requires processing `Trait`, completing the cycle
8note: cycle used when coherence checking all impls of trait `Trait`
9  --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:12: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`.