2017-12-10 13:47:55 -06:00
|
|
|
error[E0592]: duplicate definitions with name `dummy`
|
2019-10-26 10:28:02 -05:00
|
|
|
--> $DIR/coherence-overlap-upstream-inherent.rs:12:32
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl<T> A<T> where T: Remote { fn dummy(&self) { } }
|
2020-08-12 16:02:14 -05:00
|
|
|
| ^^^^^^^^^^^^^^^ duplicate definitions for `dummy`
|
2019-10-26 10:28:02 -05:00
|
|
|
LL |
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl A<i16> { fn dummy(&self) { } }
|
2020-08-12 16:02:14 -05:00
|
|
|
| --------------- other definition for `dummy`
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2019-09-18 17:16:16 -05:00
|
|
|
= note: upstream crates may add a new impl of trait `coherence_lib::Remote` for type `i16` in future versions
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2019-06-13 20:54:27 -05:00
|
|
|
For more information about this error, try `rustc --explain E0592`.
|