summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/coherence-tuple-conflict.stderr
blob: 09ad5e5b22435e4099704695ec34ac4b3bb0f74d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `MyTrait` for type `(_, _)`
  --> $DIR/coherence-tuple-conflict.rs:15:1
   |
LL | impl<T> MyTrait for (T,T) {
   | ------------------------- first implementation here
...
LL | impl<A,B> MyTrait for (A,B) {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(_, _)`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0119`.