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