]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-overlap-upstream.old.stderr
Fix a minor grammar nit, update UI tests
[rust.git] / src / test / ui / coherence / coherence-overlap-upstream.old.stderr
1 error[E0119]: conflicting implementations of trait `Foo` for type `i16`:
2   --> $DIR/coherence-overlap-upstream.rs:16:1
3    |
4 LL | impl<T> Foo for T where T: Remote {}
5    | --------------------------------- first implementation here
6 LL | impl Foo for i16 {}
7    | ^^^^^^^^^^^^^^^^ conflicting implementation for `i16`
8    |
9    = note: upstream crates may add a new impl of trait `coherence_lib::Remote` for type `i16` in future versions
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0119`.