2021-05-09 20:53:13 +02:00
|
|
|
error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<OpaqueType>`
|
2023-10-13 09:42:51 +00:00
|
|
|
--> $DIR/auto-trait-coherence.rs:24:1
|
2021-05-09 20:53:13 +02:00
|
|
|
|
|
|
|
|
LL | impl<T: Send> AnotherTrait for T {}
|
|
|
|
| -------------------------------- first implementation here
|
|
|
|
...
|
|
|
|
LL | impl AnotherTrait for D<OpaqueType> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<OpaqueType>`
|
2023-11-14 13:55:59 +01:00
|
|
|
|
|
|
|
|
= note: upstream crates may add a new impl of trait `std::marker::Send` for type `OpaqueType` in future versions
|
2021-05-09 20:53:13 +02:00
|
|
|
|
2022-10-24 15:31:38 +00:00
|
|
|
error: aborting due to previous error
|
2021-07-26 17:01:16 -03:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|