fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime may not live long enough 2 --> $DIR/issue-52113.rs:30:9 3 | 4LL | fn produce_err<'a, 'b: 'a>(data: &'b mut Vec<&'b u32>, value: &'a u32) -> impl Bazinga + 'b { 5 | -- -- lifetime `'b` defined here 6 | | 7 | lifetime `'a` defined here 8... 9LL | data.push(value); 10 | ^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'b` 11 | 12 = help: consider adding the following bound: `'a: 'b` 13 14error: aborting due to previous error 15