]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-overlap-negate-not-use-feature-gate.stderr
Auto merge of #103459 - ChrisDenton:propagate-nulls, r=thomcc
[rust.git] / src / test / ui / coherence / coherence-overlap-negate-not-use-feature-gate.stderr
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`.