1 error[E0283]: type annotations needed
2 --> $DIR/coherence-overlap-trait-alias.rs:15:6
5 | ^ cannot infer type for type `u32`
7 note: multiple `impl`s satisfying `u32: C` found
8 --> $DIR/coherence-overlap-trait-alias.rs:13:1
10 LL | impl<T: AB> C for T {}
12 LL | #[rustc_strict_coherence]
13 LL | impl C for u32 {}
15 note: required by a bound in `C`
16 --> $DIR/coherence-overlap-trait-alias.rs:11:1
19 | ^^^^^^^ required by this bound in `C`
21 error: aborting due to previous error
23 For more information about this error, try `rustc --explain E0283`.