8 async fn a(self: Pin<&Foo>, f: &Foo) -> &Foo { f }
9 //~^ ERROR lifetime mismatch
11 async fn c(self: Pin<&Self>, f: &Foo, g: &Foo) -> (Pin<&Foo>, &Foo) { (self, f) }
12 //~^ ERROR lifetime mismatch
15 type Alias<T> = Pin<T>;
17 async fn bar<'a>(self: Alias<&Self>, arg: &'a ()) -> &() { arg } //~ ERROR E0623