1 2 3 4 5 6 7 8 9
//@ check-pass #![feature(precise_capturing_in_traits)] trait Foo { fn bar<'a>() -> impl Sized + use<Self>; } fn main() {}