help: consider introducing lifetime `'test` here
|
LL | fn bar<'test>() {
- | ^^^^^^^
+ | +++++++
help: consider making the type lifetime-generic with a new `'test` lifetime
|
LL | let y: for<'test> fn(&'test u32) = foo2;
- | ^^^^^^^^^^
+ | ++++++++++
error: aborting due to 2 previous errors