2023-06-20 22:44:19 -05:00
|
|
|
error[E0119]: conflicting implementations of trait `C` for type `u32`
|
|
|
|
--> $DIR/coherence-overlap-trait-alias.rs:15:1
|
2021-10-01 08:05:17 -05:00
|
|
|
|
|
|
|
|
LL | impl<T: AB> C for T {}
|
2023-06-20 22:44:19 -05:00
|
|
|
| ------------------- first implementation here
|
2021-10-01 08:05:17 -05:00
|
|
|
LL | impl C for u32 {}
|
2023-06-20 22:44:19 -05:00
|
|
|
| ^^^^^^^^^^^^^^ conflicting implementation for `u32`
|
2021-10-22 13:55:56 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-10-22 13:55:56 -05:00
|
|
|
|
2023-06-20 22:44:19 -05:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|