1 error[E0623]: lifetime mismatch
2 --> $DIR/ref-self-async.rs:24:42
4 LL | async fn ref_self(&self, f: &u32) -> &u32 {
7 | | ...but data from `f` is returned here
8 | this parameter and the return type are declared with different lifetimes...
10 error[E0623]: lifetime mismatch
11 --> $DIR/ref-self-async.rs:33:48
13 LL | async fn ref_Self(self: &Self, f: &u32) -> &u32 {
16 | | ...but data from `f` is returned here
17 | this parameter and the return type are declared with different lifetimes...
19 error[E0623]: lifetime mismatch
20 --> $DIR/ref-self-async.rs:37:57
22 LL | async fn box_ref_Self(self: Box<&Self>, f: &u32) -> &u32 {
25 | | ...but data from `f` is returned here
26 | this parameter and the return type are declared with different lifetimes...
28 error[E0623]: lifetime mismatch
29 --> $DIR/ref-self-async.rs:41:57
31 LL | async fn pin_ref_Self(self: Pin<&Self>, f: &u32) -> &u32 {
34 | | ...but data from `f` is returned here
35 | this parameter and the return type are declared with different lifetimes...
37 error[E0623]: lifetime mismatch
38 --> $DIR/ref-self-async.rs:45:66
40 LL | async fn box_box_ref_Self(self: Box<Box<&Self>>, f: &u32) -> &u32 {
43 | | ...but data from `f` is returned here
44 | this parameter and the return type are declared with different lifetimes...
46 error[E0623]: lifetime mismatch
47 --> $DIR/ref-self-async.rs:49:66
49 LL | async fn box_pin_ref_Self(self: Box<Pin<&Self>>, f: &u32) -> &u32 {
52 | | ...but data from `f` is returned here
53 | this parameter and the return type are declared with different lifetimes...
55 error[E0623]: lifetime mismatch
56 --> $DIR/ref-self-async.rs:53:69
58 LL | async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 {
61 | | ...but data from `f` is returned here
62 | this parameter and the return type are declared with different lifetimes...
64 error: aborting due to 7 previous errors