Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// check-pass
// revisions: current next
//[next] compile-flags: -Ztrait-solver=next
struct Wrapper<T: ?Sized>(T);
trait A: B {}
trait B {}
fn test<'a>(x: Box<Wrapper<dyn A + 'a>>) -> Box<Wrapper<dyn B + 'a>> {
x
}
fn main() {}