]> git.lizzy.rs Git - rust.git/blob - tests/ui/coherence/coherence-overlap-negate-not-use-feature-gate.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / 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`.