2 #![feature(impl_trait_projections)]
4 // This test checks that we emit the correct borrowck error when `Self` is used as a return type.
5 // See #61949 for context.
12 pub async fn new(_bar: &'a i32) -> Self {
23 //~^ ERROR `bar` does not live long enough