1 error[E0119]: conflicting implementations of trait `AnotherTrait` for type `OpaqueType`
2 --> $DIR/issue-83613.rs:10:1
4 LL | impl<T: Send> AnotherTrait for T {}
5 | -------------------------------- first implementation here
6 LL | impl AnotherTrait for OpaqueType {}
7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `OpaqueType`
9 error: cannot implement trait on type alias impl trait
10 --> $DIR/issue-83613.rs:10:23
12 LL | impl AnotherTrait for OpaqueType {}
15 note: type alias impl trait defined here
16 --> $DIR/issue-83613.rs:4:19
18 LL | type OpaqueType = impl OpaqueTrait;
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0119`.