fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
473 B17 linesraw
1error[E0283]: type annotations needed: cannot satisfy `u32: C`
2  --> $DIR/coherence-overlap-trait-alias.rs:15:12
3   |
4LL | impl C for u32 {}
5   |            ^^^
6   |
7note: multiple `impl`s satisfying `u32: C` found
8  --> $DIR/coherence-overlap-trait-alias.rs:14:1
9   |
10LL | impl<T: AB> C for T {}
11   | ^^^^^^^^^^^^^^^^^^^
12LL | impl C for u32 {}
13   | ^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0283`.