2021-05-09 20:53:13 +02:00
|
|
|
error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<OpaqueType>`
|
|
|
|
--> $DIR/negative-reasoning.rs:19:1
|
|
|
|
|
|
|
|
|
LL | impl<T: std::fmt::Debug> AnotherTrait for T {}
|
|
|
|
| ------------------------------------------- first implementation here
|
|
|
|
...
|
|
|
|
LL | impl AnotherTrait for D<OpaqueType> {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<OpaqueType>`
|
|
|
|
|
|
2023-06-21 03:44:19 +00:00
|
|
|
= note: upstream crates may add a new impl of trait `std::marker::FnPtr` for type `OpaqueType` in future versions
|
2021-05-09 20:53:13 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-07-26 17:01:16 -03:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|