]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 | 1 | error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<impl OpaqueTrait>` |
6a06907d | 2 | --> $DIR/negative-reasoning.rs:22:1 |
e74abb32 | 3 | | |
f035d41b | 4 | LL | impl<T: std::fmt::Debug> AnotherTrait for T {} |
e74abb32 XL |
5 | | ------------------------------------------- first implementation here |
6 | ... | |
7 | LL | impl AnotherTrait for D<OpaqueType> { | |
f035d41b | 8 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<impl OpaqueTrait>` |
e74abb32 | 9 | | |
f035d41b | 10 | = note: upstream crates may add a new impl of trait `std::fmt::Debug` for type `impl OpaqueTrait` in future versions |
e74abb32 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0119`. |