2021-10-22 15:54:20 -05:00
|
|
|
error[E0119]: conflicting implementations of trait `Foo` for type `&_`
|
|
|
|
--> $DIR/coherence-overlap-negate-not-use-feature-gate.rs:5:1
|
|
|
|
|
|
|
|
|
LL | impl<T: DerefMut> Foo for T {}
|
|
|
|
| --------------------------- first implementation here
|
|
|
|
LL | impl<U> Foo for &U {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ conflicting implementation for `&_`
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-10-22 15:54:20 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|