13 lines
455 B
Plaintext
13 lines
455 B
Plaintext
|
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`.
|