]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-overlap-trait-alias.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / coherence / coherence-overlap-trait-alias.stderr
1 error[E0283]: type annotations needed: cannot satisfy `u32: C`
2   --> $DIR/coherence-overlap-trait-alias.rs:15:12
3    |
4 LL | impl C for u32 {}
5    |            ^^^
6    |
7 note: multiple `impl`s satisfying `u32: C` found
8   --> $DIR/coherence-overlap-trait-alias.rs:14:1
9    |
10 LL | impl<T: AB> C for T {}
11    | ^^^^^^^^^^^^^^^^^^^
12 LL | impl C for u32 {}
13    | ^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0283`.