|
1 | 1 | error[E0623]: lifetime mismatch
|
2 |
| - --> $DIR/ref-mut-self.rs:14:9 |
| 2 | + --> $DIR/ref-mut-self.rs:12:9 |
3 | 3 | |
|
4 | 4 | LL | fn ref_self(&mut self, f: &u32) -> &u32 {
|
5 | 5 | | ---- ----
|
|
9 | 9 | | ^ ...but data from `f` is returned here
|
10 | 10 |
|
11 | 11 | error[E0623]: lifetime mismatch
|
12 |
| - --> $DIR/ref-mut-self.rs:20:9 |
| 12 | + --> $DIR/ref-mut-self.rs:18:9 |
13 | 13 | |
|
14 | 14 | LL | fn ref_Self(self: &mut Self, f: &u32) -> &u32 {
|
15 | 15 | | ---- ----
|
|
19 | 19 | | ^ ...but data from `f` is returned here
|
20 | 20 |
|
21 | 21 | error[E0623]: lifetime mismatch
|
22 |
| - --> $DIR/ref-mut-self.rs:24:9 |
| 22 | + --> $DIR/ref-mut-self.rs:22:9 |
23 | 23 | |
|
24 | 24 | LL | fn box_ref_Self(self: Box<&mut Self>, f: &u32) -> &u32 {
|
25 | 25 | | ---- ----
|
|
29 | 29 | | ^ ...but data from `f` is returned here
|
30 | 30 |
|
31 | 31 | error[E0623]: lifetime mismatch
|
32 |
| - --> $DIR/ref-mut-self.rs:28:9 |
| 32 | + --> $DIR/ref-mut-self.rs:26:9 |
33 | 33 | |
|
34 | 34 | LL | fn pin_ref_Self(self: Pin<&mut Self>, f: &u32) -> &u32 {
|
35 | 35 | | ---- ----
|
|
39 | 39 | | ^ ...but data from `f` is returned here
|
40 | 40 |
|
41 | 41 | error[E0623]: lifetime mismatch
|
42 |
| - --> $DIR/ref-mut-self.rs:32:9 |
| 42 | + --> $DIR/ref-mut-self.rs:30:9 |
43 | 43 | |
|
44 | 44 | LL | fn box_box_ref_Self(self: Box<Box<&mut Self>>, f: &u32) -> &u32 {
|
45 | 45 | | ---- ----
|
|
49 | 49 | | ^ ...but data from `f` is returned here
|
50 | 50 |
|
51 | 51 | error[E0623]: lifetime mismatch
|
52 |
| - --> $DIR/ref-mut-self.rs:36:9 |
| 52 | + --> $DIR/ref-mut-self.rs:34:9 |
53 | 53 | |
|
54 | 54 | LL | fn box_pin_ref_Self(self: Box<Pin<&mut Self>>, f: &u32) -> &u32 {
|
55 | 55 | | ---- ----
|
|
0 commit comments