]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error[E0623]: lifetime mismatch |
e74abb32 | 2 | --> $DIR/lt-ref-self-async.rs:14:9 |
e1599b0c XL |
3 | | |
4 | LL | async fn ref_self(&self, f: &u32) -> &u32 { | |
e74abb32 XL |
5 | | ----- ---- |
6 | | | | |
e1599b0c | 7 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
8 | LL | f |
9 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
10 | |
11 | error[E0623]: lifetime mismatch | |
e74abb32 | 12 | --> $DIR/lt-ref-self-async.rs:20:9 |
e1599b0c XL |
13 | | |
14 | LL | async fn ref_Self(self: &Self, f: &u32) -> &u32 { | |
e74abb32 XL |
15 | | ----- ---- |
16 | | | | |
e1599b0c | 17 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
18 | LL | f |
19 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
20 | |
21 | error[E0623]: lifetime mismatch | |
e74abb32 | 22 | --> $DIR/lt-ref-self-async.rs:24:9 |
e1599b0c XL |
23 | | |
24 | LL | async fn box_ref_Self(self: Box<&Self>, f: &u32) -> &u32 { | |
e74abb32 XL |
25 | | ----- ---- |
26 | | | | |
e1599b0c | 27 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
28 | LL | f |
29 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
30 | |
31 | error[E0623]: lifetime mismatch | |
e74abb32 | 32 | --> $DIR/lt-ref-self-async.rs:28:9 |
e1599b0c XL |
33 | | |
34 | LL | async fn pin_ref_Self(self: Pin<&Self>, f: &u32) -> &u32 { | |
e74abb32 XL |
35 | | ----- ---- |
36 | | | | |
e1599b0c | 37 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
38 | LL | f |
39 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
40 | |
41 | error[E0623]: lifetime mismatch | |
e74abb32 | 42 | --> $DIR/lt-ref-self-async.rs:32:9 |
e1599b0c XL |
43 | | |
44 | LL | async fn box_box_ref_Self(self: Box<Box<&Self>>, f: &u32) -> &u32 { | |
e74abb32 XL |
45 | | ----- ---- |
46 | | | | |
e1599b0c | 47 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
48 | LL | f |
49 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
50 | |
51 | error[E0623]: lifetime mismatch | |
e74abb32 | 52 | --> $DIR/lt-ref-self-async.rs:36:9 |
e1599b0c XL |
53 | | |
54 | LL | async fn box_pin_Self(self: Box<Pin<&Self>>, f: &u32) -> &u32 { | |
e74abb32 XL |
55 | | ----- ---- |
56 | | | | |
e1599b0c | 57 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
58 | LL | f |
59 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
60 | |
61 | error: aborting due to 6 previous errors | |
62 |