summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/in-trait/signature-mismatch.failure.stderr
blob: 468cf12f1bc030ab5480cc30fdb566ad3694890d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0623]: lifetime mismatch
  --> $DIR/signature-mismatch.rs:79:10
   |
LL |         &'a self,
   |         -------- this parameter and the return type are declared with different lifetimes...
...
LL |     ) -> impl Future<Output = Vec<u8>> {
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |          |
   |          ...but data from `buff` is returned here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0623`.