summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/coherence_cross_crate.stderr
blob: 893a27faced67f46a5dfca53edaab80460009945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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`.