fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
603 B14 linesraw
1error[E0592]: duplicate definitions with name `dummy`
2  --> $DIR/coherence-overlap-upstream-inherent.rs:12:32
3   |
4LL | impl<T> A<T> where T: Remote { fn dummy(&self) { } }
5   |                                ^^^^^^^^^^^^^^^^^^^ duplicate definitions for `dummy`
6LL |
7LL | impl A<i16> { fn dummy(&self) { } }
8   |               ------------------- other definition for `dummy`
9   |
10   = note: upstream crates may add a new impl of trait `coherence_lib::Remote` for type `i16` in future versions
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0592`.