fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
541 B13 linesraw
1error[E0119]: conflicting implementations of trait `Foo` for type `i16`:
2  --> $DIR/coherence-overlap-upstream.rs:13:1
3   |
4LL | impl<T> Foo for T where T: Remote {}
5   | --------------------------------- first implementation here
6LL | 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
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0119`.