]> git.proxmox.com Git - rustc.git/blob - src/test/ui/coherence/coherence-overlap-upstream.re.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / coherence / coherence-overlap-upstream.re.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`.