1 error[E0119]: conflicting implementations of trait `AnotherTrait` for type `D<OpaqueType>`
2 --> $DIR/auto-trait.rs:21:1
4 LL | impl<T: Send> AnotherTrait for T {}
5 | -------------------------------- first implementation here
7 LL | impl AnotherTrait for D<OpaqueType> {
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `D<OpaqueType>`
10 error: cannot implement trait on type alias impl trait
11 --> $DIR/auto-trait.rs:21:25
13 LL | impl AnotherTrait for D<OpaqueType> {
16 note: type alias impl trait defined here
17 --> $DIR/auto-trait.rs:7:19
19 LL | type OpaqueType = impl OpaqueTrait;
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0119`.