|
1 | 1 | error[E0623]: lifetime mismatch |
2 | | - --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:8:45 |
| 2 | + --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:8:52 |
3 | 3 | | |
4 | 4 | LL | async fn a(self: Pin<&Foo>, f: &Foo) -> &Foo { f } |
5 | | - | ---- ^^^^ |
6 | | - | | | |
7 | | - | | ...but data from `f` is returned here |
| 5 | + | ---- ---- ^ ...but data from `f` is returned here |
| 6 | + | | |
8 | 7 | | this parameter and the return type are declared with different lifetimes... |
9 | 8 |
|
10 | 9 | error[E0623]: lifetime mismatch |
11 | | - --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:11:55 |
| 10 | + --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:11:82 |
12 | 11 | | |
13 | 12 | LL | async fn c(self: Pin<&Self>, f: &Foo, g: &Foo) -> (Pin<&Foo>, &Foo) { (self, f) } |
14 | | - | ----- ^^^^^^^^^^^^^^^^^ |
15 | | - | | | |
16 | | - | | ...but data from `f` is returned here |
| 13 | + | ----- ----------------- ^ ...but data from `f` is returned here |
| 14 | + | | |
17 | 15 | | this parameter and the return type are declared with different lifetimes... |
18 | 16 |
|
19 | 17 | error[E0623]: lifetime mismatch |
20 | | - --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:17:58 |
| 18 | + --> $DIR/arbitrary_self_types_pin_lifetime_mismatch-async.rs:17:64 |
21 | 19 | | |
22 | 20 | LL | async fn bar<'a>(self: Alias<&Self>, arg: &'a ()) -> &() { arg } |
23 | | - | ----- ^^^ |
24 | | - | | | |
25 | | - | | ...but data from `arg` is returned here |
| 21 | + | ----- --- ^^^ ...but data from `arg` is returned here |
| 22 | + | | |
26 | 23 | | this parameter and the return type are declared with different lifetimes... |
27 | 24 |
|
28 | 25 | error: aborting due to 3 previous errors |
|
0 commit comments