]>
Commit | Line | Data |
---|---|---|
3c0e092e XL |
1 | error[E0119]: conflicting implementations of trait `Foo` for type `&_` |
2 | --> $DIR/coherence-overlap-negate-not-use-feature-gate.rs:5:1 | |
3 | | | |
4 | LL | impl<T: DerefMut> Foo for T {} | |
5 | | --------------------------- first implementation here | |
6 | LL | impl<U> Foo for &U {} | |
7 | | ^^^^^^^^^^^^^^^^^^ conflicting implementation for `&_` | |
8 | ||
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0119`. |