summary refs log tree commit diff
path: root/src/test/ui/coherence-overlap-upstream.stderr
blob: 794c830cc5bf5d261231bf9c0a8c2459d990d7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0119]: conflicting implementations of trait `Foo` for type `i16`:
  --> $DIR/coherence-overlap-upstream.rs:22:1
   |
LL | impl<T> Foo for T where T: Remote {}
   | --------------------------------- first implementation here
LL | impl Foo for i16 {}
   | ^^^^^^^^^^^^^^^^ conflicting implementation for `i16`
   |
   = note: upstream crates may add new impl of trait `coherence_lib::Remote` for type `i16` in future versions

error: aborting due to previous error

For more information about this error, try `rustc --explain E0119`.