error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D` --> $DIR/auto-trait-coherence.rs:24:1 | LL | impl AnotherTrait for T {} | -------------------------------- first implementation here ... LL | impl AnotherTrait for D { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0119`.