]> git.proxmox.com Git - rustc.git/blob - tests/ui/coherence/coherence-tuple-conflict.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / coherence / coherence-tuple-conflict.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `(_, _)`
2 --> $DIR/coherence-tuple-conflict.rs:15:1
3 |
4 LL | impl<T> MyTrait for (T,T) {
5 | ------------------------- first implementation here
6 ...
7 LL | impl<A,B> MyTrait for (A,B) {
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(_, _)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.