mirror of https://github.com/rust-lang/rust
14 lines
568 B
Plaintext
14 lines
568 B
Plaintext
error[E0119]: conflicting implementations of trait `OtherTrait` for type `Alias`
|
|
--> $DIR/coherence_cross_crate.rs:21:1
|
|
|
|
|
LL | impl OtherTrait for Alias {}
|
|
| ------------------------- first implementation here
|
|
LL | impl OtherTrait for i32 {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Alias`
|
|
|
|
|
= note: upstream crates may add a new impl of trait `coherence_cross_crate_trait_decl::SomeTrait` for type `i32` in future versions
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|