2019-07-13 14:52:57 -05:00
|
|
|
error[E0119]: conflicting implementations of trait `OtherTrait` for type `()`:
|
2020-02-02 00:05:53 -06:00
|
|
|
--> $DIR/reservation-impl-coherence-conflict.rs:11:1
|
2019-07-13 14:52:57 -05:00
|
|
|
|
|
|
|
|
LL | impl OtherTrait for () {}
|
|
|
|
| ---------------------- first implementation here
|
|
|
|
LL | impl<T: MyTrait> OtherTrait for T {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
|
2019-07-27 14:18:34 -05:00
|
|
|
|
|
|
|
|
= note: this impl is reserved
|
2019-07-13 14:52:57 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|