]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-overlap-trait-alias.stderr
Rollup merge of #104467 - fuzzypixelz:fix/attempt-to-substract-with-overflow, r=compi...
[rust.git] / src / test / 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:6
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`.