2021-04-07 01:16:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Foo` for type `i16`
|
2019-10-26 15:28:02 +00:00
|
|
|
--> $DIR/coherence-overlap-upstream.rs:13:1
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl<T> Foo for T where T: Remote {}
|
2023-10-06 20:35:52 +00:00
|
|
|
| --------------------------------- first implementation here
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl Foo for i16 {}
|
2017-12-18 07:46:55 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^ conflicting implementation for `i16`
|
2019-08-04 16:52:43 +00:00
|
|
|
|
|
2019-09-18 22:16:16 +00:00
|
|
|
= note: upstream crates may add a new impl of trait `coherence_lib::Remote` for type `i16` in future versions
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|