@@ -4,7 +4,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
44LL | async fn ref_self(&self, f: &u32) -> &u32 {
55 | ^^^^
66 |
7- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
7+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
88
99error: lifetime may not live long enough
1010 --> $DIR/ref-self-async.rs:24:47
@@ -24,7 +24,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
2424LL | async fn ref_Self(self: &Self, f: &u32) -> &u32 {
2525 | ^^^^
2626 |
27- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
27+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
2828
2929error: lifetime may not live long enough
3030 --> $DIR/ref-self-async.rs:30:53
@@ -44,7 +44,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
4444LL | async fn box_ref_Self(self: Box<&Self>, f: &u32) -> &u32 {
4545 | ^^^^
4646 |
47- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
47+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
4848
4949error: lifetime may not live long enough
5050 --> $DIR/ref-self-async.rs:34:62
@@ -64,7 +64,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
6464LL | async fn pin_ref_Self(self: Pin<&Self>, f: &u32) -> &u32 {
6565 | ^^^^
6666 |
67- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
67+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
6868
6969error: lifetime may not live long enough
7070 --> $DIR/ref-self-async.rs:38:62
@@ -84,7 +84,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
8484LL | async fn box_box_ref_Self(self: Box<Box<&Self>>, f: &u32) -> &u32 {
8585 | ^^^^
8686 |
87- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
87+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
8888
8989error: lifetime may not live long enough
9090 --> $DIR/ref-self-async.rs:42:71
@@ -104,7 +104,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
104104LL | async fn box_pin_ref_Self(self: Box<Pin<&Self>>, f: &u32) -> &u32 {
105105 | ^^^^
106106 |
107- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
107+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
108108
109109error: lifetime may not live long enough
110110 --> $DIR/ref-self-async.rs:46:71
@@ -124,7 +124,7 @@ error[E0700]: hidden type for `impl Trait` captures lifetime that does not appea
124124LL | async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 {
125125 | ^^^
126126 |
127- = note: hidden type `impl std::future::Future` captures lifetime '_#18r
127+ = note: hidden type `impl std::future::Future` captures lifetime '_#15r
128128
129129error: lifetime may not live long enough
130130 --> $DIR/ref-self-async.rs:50:73
0 commit comments