15 lines
628 B
Plaintext
15 lines
628 B
Plaintext
error[E0592]: duplicate definitions with name `dummy`
|
|
--> $DIR/coherence-overlap-upstream-inherent.rs:21:32
|
|
|
|
|
LL | impl<T> A<T> where T: Remote { fn dummy(&self) { } }
|
|
| ^^^^^^^^^^^^^^^^^^^ duplicate definitions for `dummy`
|
|
LL | //~^ ERROR E0592
|
|
LL | impl A<i16> { fn dummy(&self) { } }
|
|
| ------------------- other definition for `dummy`
|
|
|
|
|
= note: upstream crates may add new impl of trait `coherence_lib::Remote` for type `i16` in future versions
|
|
|
|
error: aborting due to previous error
|
|
|
|
If you want more information on this error, try using "rustc --explain E0592"
|