2023-08-04 18:54:14 -05:00
|
|
|
error[E0623]: lifetime mismatch
|
2023-09-01 23:02:11 -05:00
|
|
|
--> $DIR/signature-mismatch.rs:79:10
|
2023-06-23 22:00:08 -05:00
|
|
|
|
|
2023-08-04 18:54:14 -05:00
|
|
|
LL | &'a self,
|
|
|
|
| -------- this parameter and the return type are declared with different lifetimes...
|
|
|
|
...
|
2023-06-23 22:00:08 -05:00
|
|
|
LL | ) -> impl Future<Output = Vec<u8>> {
|
2023-08-04 18:54:14 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
| |
|
|
|
|
| ...but data from `buff` is returned here
|
2023-06-23 22:00:08 -05:00
|
|
|
|
2023-08-04 18:54:14 -05:00
|
|
|
error: aborting due to previous error
|
2023-06-23 22:00:08 -05:00
|
|
|
|
2023-08-04 18:54:14 -05:00
|
|
|
For more information about this error, try `rustc --explain E0623`.
|