blob: 45a192de454ef6e7e57de378db4393ad998ebd91 [file] [log] [blame]
error: unsatisfied lifetime constraints
--> $DIR/issue-52113.rs:47:5
|
LL | fn produce_err<'a, 'b: 'a>(data: &'b mut Vec<&'b u32>, value: &'a u32) -> impl Bazinga + 'b {
| -- -- lifetime `'b` defined here
| |
| lifetime `'a` defined here
...
LL | x //~ ERROR unsatisfied lifetime constraints
| ^ returning this value requires that `'a` must outlive `'b`
error: aborting due to previous error