blob: 64b5722390858600908dc9444c69a6953c0d3af2 [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/project-fn-ret-invariant.rs:40:20
|
LL | fn baz<'a, 'b>(x: Type<'a>, y: Type<'b>) -> (Type<'a>, Type<'b>) {
| -------- --------------------
| |
| this parameter and the return type are declared with different lifetimes...
...
LL | let b = bar(f, y);
| ^ ...but data from `x` is returned here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0623`.