1 error[E0119]: conflicting implementations of trait `Trait1<std::boxed::Box<_>>` for type `A`
2 --> $DIR/issue-43355.rs:13:1
4 LL | impl<X, T> Trait1<X> for T where T: Trait2<X> {
5 | --------------------------------------------- first implementation here
7 LL | impl<X> Trait1<Box<X>> for A {
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `A`
10 = note: downstream crates may implement trait `Trait2<std::boxed::Box<_>>` for type `A`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0119`.