]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/coherence_cross_crate.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / type-alias-impl-trait / coherence_cross_crate.stderr
1 error[E0119]: conflicting implementations of trait `OtherTrait` for type `Alias`
2   --> $DIR/coherence_cross_crate.rs:21:1
3    |
4 LL | impl OtherTrait for Alias {}
5    | ------------------------- first implementation here
6 LL | impl OtherTrait for i32 {}
7    | ^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Alias`
8    |
9    = note: upstream crates may add a new impl of trait `coherence_cross_crate_trait_decl::SomeTrait` for type `i32` in future versions
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0119`.