os-rust/tests/ui/coherence/coherence-overlap-all-t-and-tuple.stderr

13 lines
466 B
Text
Raw Normal View History

2021-04-06 18:16:11 -07:00
error[E0119]: conflicting implementations of trait `From<(_,)>` for type `(_,)`
--> $DIR/coherence-overlap-all-t-and-tuple.rs:16:1
2018-08-08 14:28:26 +02:00
|
LL | impl <T> From<T> for T {
| ---------------------- first implementation here
...
2018-12-29 02:13:06 +01:00
LL | impl <T11, U11> From<(U11,)> for (T11,) {
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(_,)`
error: aborting due to 1 previous error
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0119`.