| lifetime `'a` defined here
LL | foo(x, y)
| ^^^^^^^^^ function was supposed to return data with lifetime `'b` but it is returning data with lifetime `'a`
+ |
+ = help: consider adding the following bound: `'a: 'b`
error: aborting due to previous error