// revisions: current next //[next] compile-flags: -Znext-solver struct MyType; trait MyTrait {} trait Mirror { type Assoc; } impl Mirror for T { type Assoc = T; } impl MyTrait for (T, S::Item) {} //~^ NOTE first implementation here impl MyTrait for (Box<<(MyType,) as Mirror>::Assoc>, S::Item) {} //~^ ERROR conflicting implementations of trait `MyTrait<_>` for type `(Box<(MyType,)>, //~| NOTE conflicting implementation for `(Box<(MyType,)>, //~| NOTE upstream crates may add a new impl of trait `std::marker::Copy` for type `std::boxed::Box<(MyType,)>` in future versions fn main() {}