1 error[E0623]: lifetime mismatch
2 --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:8:52
4 LL | async fn a(self: Pin<&Foo>, f: &Foo) -> &Foo { f }
5 | ---- ---- ^ ...but data from `f` is returned here
7 | this parameter and the return type are declared with different lifetimes...
9 error[E0623]: lifetime mismatch
10 --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:11:82
12 LL | async fn c(self: Pin<&Self>, f: &Foo, g: &Foo) -> (Pin<&Foo>, &Foo) { (self, f) }
13 | ----- ----------------- ^ ...but data from `f` is returned here
15 | this parameter and the return type are declared with different lifetimes...
17 error[E0623]: lifetime mismatch
18 --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:17:64
20 LL | async fn bar<'a>(self: Alias<&Self>, arg: &'a ()) -> &() { arg }
21 | ----- --- ^^^ ...but data from `arg` is returned here
23 | this parameter and the return type are declared with different lifetimes...
25 error: aborting due to 3 previous errors