]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error[E0623]: lifetime mismatch |
60c5eb7d | 2 | --> $DIR/ref-self-async.rs:22: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 | |
60c5eb7d | 12 | --> $DIR/ref-self-async.rs:28: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 | |
60c5eb7d | 22 | --> $DIR/ref-self-async.rs:32: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 | |
60c5eb7d | 32 | --> $DIR/ref-self-async.rs:36: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 | |
60c5eb7d | 42 | --> $DIR/ref-self-async.rs:40: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 | |
60c5eb7d | 52 | --> $DIR/ref-self-async.rs:44:9 |
e1599b0c XL |
53 | | |
54 | LL | async fn box_pin_ref_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[E0623]: lifetime mismatch | |
60c5eb7d | 62 | --> $DIR/ref-self-async.rs:48:9 |
e1599b0c XL |
63 | | |
64 | LL | async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 { | |
e74abb32 XL |
65 | | ----- --- |
66 | | | | |
e1599b0c | 67 | | this parameter and the return type are declared with different lifetimes... |
e74abb32 XL |
68 | LL | f |
69 | | ^ ...but data from `f` is returned here | |
e1599b0c XL |
70 | |
71 | error: aborting due to 7 previous errors | |
72 | ||
60c5eb7d | 73 | For more information about this error, try `rustc --explain E0623`. |