blob: 4ceafea0a70fd8e81439dac6e7b86aae0337bafc [file] [log] [blame]
error[E0119]: conflicting implementations of trait `MyTrait` for type `(_, _)`:
--> $DIR/coherence-tuple-conflict.rs:25:1
|
LL | impl<T> MyTrait for (T,T) {
| ------------------------- first implementation here
...
LL | impl<A,B> MyTrait for (A,B) { //~ ERROR E0119
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(_, _)`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0119`.