3 // This test checks that `Self` is prohibited as a return type. See #61949 for context.
10 pub async fn new(_bar: &'a i32) -> Self {
11 //~^ ERROR `async fn` return type cannot contain a projection or `Self` that references lifetimes from a parent scope