LL | f: &id,
| ^^^ one type is more general than the other
|
- = note: expected type `std::ops::FnOnce<(&'a Foo<'b>,)>`
- found type `std::ops::FnOnce<(&Foo<'_>,)>`
+ = note: expected type `FnOnce<(&'a Foo<'b>,)>`
+ found type `FnOnce<(&Foo<'_>,)>`
error: aborting due to previous error