// check-pass // revisions: current next //[next] compile-flags: -Ztrait-solver=next struct Wrapper(T); trait A: B {} trait B {} fn test<'a>(x: Box>) -> Box> { x } fn main() {}