2024-11-24 22:39:19 +00:00
|
|
|
error[E0477]: the type `impl Future<Output = Vec<u8>>` does not fulfill the required lifetime
|
2024-02-10 21:53:34 +00:00
|
|
|
--> $DIR/signature-mismatch.rs:77:10
|
2023-06-24 00:00:08 -03:00
|
|
|
|
|
|
|
|
|
LL | ) -> impl Future<Output = Vec<u8>> {
|
2023-08-04 23:54:14 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2024-11-24 22:39:19 +00:00
|
|
|
|
|
|
|
|
|
note: type must outlive the lifetime `'a` as defined here as required by this binding
|
|
|
|
|
--> $DIR/signature-mismatch.rs:73:32
|
|
|
|
|
|
|
|
|
|
|
LL | fn async_fn_reduce_outlive<'a, 'b, T>(
|
|
|
|
|
| ^^
|
2023-06-24 00:00:08 -03:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-24 00:00:08 -03:00
|
|
|
|
2024-11-24 22:39:19 +00:00
|
|
|
For more information about this error, try `rustc --explain E0477`.
|