]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-tuple-conflict.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / coherence / coherence-tuple-conflict.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `(_, _)`:
2   --> $DIR/coherence-tuple-conflict.rs:25:1
3    |
4 LL | impl<T> MyTrait for (T,T) {
5    | ------------------------- first implementation here
6 ...
7 LL | impl<A,B> MyTrait for (A,B) { //~ ERROR E0119
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(_, _)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.