2024-09-21 07:02:51 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<_>`
|
2021-05-09 18:53:13 +00:00
|
|
|
--> $DIR/negative-reasoning.rs:19:1
|
|
|
|
|
|
|
|
|
LL | impl<T: std::fmt::Debug> AnotherTrait for T {}
|
|
|
|
| ------------------------------------------- first implementation here
|
|
|
|
...
|
|
|
|
LL | impl AnotherTrait for D<OpaqueType> {
|
2024-09-21 07:02:51 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<_>`
|
2021-05-09 18:53:13 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-07-26 20:01:16 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|