]> git.proxmox.com Git - rustc.git/blame - src/test/ui/self/elision/lt-ref-self-async.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / self / elision / lt-ref-self-async.stderr
CommitLineData
e1599b0c 1error[E0623]: lifetime mismatch
60c5eb7d 2 --> $DIR/lt-ref-self-async.rs:13:9
e1599b0c
XL
3 |
4LL | async fn ref_self(&self, f: &u32) -> &u32 {
5099ac24
FG
5 | ---- ----
6 | |
7 | this parameter and the return type are declared with different lifetimes...
e74abb32 8LL | f
5099ac24 9 | ^ ...but data from `f` is returned here
e1599b0c
XL
10
11error[E0623]: lifetime mismatch
60c5eb7d 12 --> $DIR/lt-ref-self-async.rs:19:9
e1599b0c
XL
13 |
14LL | async fn ref_Self(self: &Self, f: &u32) -> &u32 {
5099ac24
FG
15 | ---- ----
16 | |
17 | this parameter and the return type are declared with different lifetimes...
e74abb32 18LL | f
5099ac24 19 | ^ ...but data from `f` is returned here
e1599b0c
XL
20
21error[E0623]: lifetime mismatch
60c5eb7d 22 --> $DIR/lt-ref-self-async.rs:23:9
e1599b0c
XL
23 |
24LL | async fn box_ref_Self(self: Box<&Self>, f: &u32) -> &u32 {
5099ac24
FG
25 | ---- ----
26 | |
27 | this parameter and the return type are declared with different lifetimes...
e74abb32 28LL | f
5099ac24 29 | ^ ...but data from `f` is returned here
e1599b0c
XL
30
31error[E0623]: lifetime mismatch
60c5eb7d 32 --> $DIR/lt-ref-self-async.rs:27:9
e1599b0c
XL
33 |
34LL | async fn pin_ref_Self(self: Pin<&Self>, f: &u32) -> &u32 {
5099ac24
FG
35 | ---- ----
36 | |
37 | this parameter and the return type are declared with different lifetimes...
e74abb32 38LL | f
5099ac24 39 | ^ ...but data from `f` is returned here
e1599b0c
XL
40
41error[E0623]: lifetime mismatch
60c5eb7d 42 --> $DIR/lt-ref-self-async.rs:31:9
e1599b0c
XL
43 |
44LL | async fn box_box_ref_Self(self: Box<Box<&Self>>, f: &u32) -> &u32 {
5099ac24
FG
45 | ---- ----
46 | |
47 | this parameter and the return type are declared with different lifetimes...
e74abb32 48LL | f
5099ac24 49 | ^ ...but data from `f` is returned here
e1599b0c
XL
50
51error[E0623]: lifetime mismatch
60c5eb7d 52 --> $DIR/lt-ref-self-async.rs:35:9
e1599b0c
XL
53 |
54LL | async fn box_pin_Self(self: Box<Pin<&Self>>, f: &u32) -> &u32 {
5099ac24
FG
55 | ---- ----
56 | |
57 | this parameter and the return type are declared with different lifetimes...
e74abb32 58LL | f
5099ac24 59 | ^ ...but data from `f` is returned here
e1599b0c
XL
60
61error: aborting due to 6 previous errors
62
60c5eb7d 63For more information about this error, try `rustc --explain E0623`.