2024-02-26 03:19:11 -06:00
|
|
|
error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<_>`
|
2023-10-13 04:42:51 -05:00
|
|
|
--> $DIR/auto-trait-coherence.rs:24:1
|
2021-05-09 13:53:13 -05:00
|
|
|
|
|
|
|
|
LL | impl<T: Send> AnotherTrait for T {}
|
|
|
|
| -------------------------------- first implementation here
|
|
|
|
...
|
|
|
|
LL | impl AnotherTrait for D<OpaqueType> {
|
2024-02-26 03:19:11 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<_>`
|
2021-05-09 13:53:13 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-07-26 15:01:16 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|