fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 2 --> $DIR/ref-self-async.rs:22:42 3 | 4LL | async fn ref_self(&self, f: &u32) -> &u32 { 5 | ^^^^ 6 | 7 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 8 9error: lifetime may not live long enough 10 --> $DIR/ref-self-async.rs:23:9 11 | 12LL | async fn ref_self(&self, f: &u32) -> &u32 { 13 | - 14 | | 15 | lifetime `'_` defined here 16 | lifetime `'_` defined here 17LL | f 18 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 19 20error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 21 --> $DIR/ref-self-async.rs:28:48 22 | 23LL | async fn ref_Self(self: &Self, f: &u32) -> &u32 { 24 | ^^^^ 25 | 26 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 27 28error: lifetime may not live long enough 29 --> $DIR/ref-self-async.rs:29:9 30 | 31LL | async fn ref_Self(self: &Self, f: &u32) -> &u32 { 32 | - 33 | | 34 | lifetime `'_` defined here 35 | lifetime `'_` defined here 36LL | f 37 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 38 39error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 40 --> $DIR/ref-self-async.rs:32:57 41 | 42LL | async fn box_ref_Self(self: Box<&Self>, f: &u32) -> &u32 { 43 | ^^^^ 44 | 45 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 46 47error: lifetime may not live long enough 48 --> $DIR/ref-self-async.rs:33:9 49 | 50LL | async fn box_ref_Self(self: Box<&Self>, f: &u32) -> &u32 { 51 | - 52 | | 53 | lifetime `'_` defined here 54 | lifetime `'_` defined here 55LL | f 56 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 57 58error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 59 --> $DIR/ref-self-async.rs:36:57 60 | 61LL | async fn pin_ref_Self(self: Pin<&Self>, f: &u32) -> &u32 { 62 | ^^^^ 63 | 64 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 65 66error: lifetime may not live long enough 67 --> $DIR/ref-self-async.rs:37:9 68 | 69LL | async fn pin_ref_Self(self: Pin<&Self>, f: &u32) -> &u32 { 70 | - 71 | | 72 | lifetime `'_` defined here 73 | lifetime `'_` defined here 74LL | f 75 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 76 77error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 78 --> $DIR/ref-self-async.rs:40:66 79 | 80LL | async fn box_box_ref_Self(self: Box<Box<&Self>>, f: &u32) -> &u32 { 81 | ^^^^ 82 | 83 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 84 85error: lifetime may not live long enough 86 --> $DIR/ref-self-async.rs:41:9 87 | 88LL | async fn box_box_ref_Self(self: Box<Box<&Self>>, f: &u32) -> &u32 { 89 | - 90 | | 91 | lifetime `'_` defined here 92 | lifetime `'_` defined here 93LL | f 94 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 95 96error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 97 --> $DIR/ref-self-async.rs:44:66 98 | 99LL | async fn box_pin_ref_Self(self: Box<Pin<&Self>>, f: &u32) -> &u32 { 100 | ^^^^ 101 | 102 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 103 104error: lifetime may not live long enough 105 --> $DIR/ref-self-async.rs:45:9 106 | 107LL | async fn box_pin_ref_Self(self: Box<Pin<&Self>>, f: &u32) -> &u32 { 108 | - 109 | | 110 | lifetime `'_` defined here 111 | lifetime `'_` defined here 112LL | f 113 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 114 115error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds 116 --> $DIR/ref-self-async.rs:48:69 117 | 118LL | async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 { 119 | ^^^ 120 | 121 = note: hidden type `impl std::future::Future` captures lifetime '_#15r 122 123error: lifetime may not live long enough 124 --> $DIR/ref-self-async.rs:49:9 125 | 126LL | async fn wrap_ref_Self_Self(self: Wrap<&Self, Self>, f: &u8) -> &u8 { 127 | - 128 | | 129 | lifetime `'_` defined here 130 | lifetime `'_` defined here 131LL | f 132 | ^ function was supposed to return data with lifetime `'_` but it is returning data with lifetime `'_` 133 134error: aborting due to 14 previous errors 135 136For more information about this error, try `rustc --explain E0700`.