2022-02-11 07:18:06 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<impl OpaqueTrait>`
|
2021-07-26 17:01:16 -03:00
|
|
|
--> $DIR/auto-trait.rs:21:1
|
|
|
|
|
|
|
|
|
|
|
LL | impl<T: Send> AnotherTrait for T {}
|
|
|
|
|
| -------------------------------- first implementation here
|
|
|
|
|
...
|
|
|
|
|
LL | impl AnotherTrait for D<OpaqueType> {
|
2022-02-11 07:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<impl OpaqueTrait>`
|
2021-07-26 17:01:16 -03:00
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|