fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: lifetime may not live long enough 2 --> $DIR/issue-52533.rs:5:16 3 | 4LL | foo(|a, b| b) 5 | - - ^ closure was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1` 6 | | | 7 | | has type `&'1 u32` 8 | has type `&'2 u32` 9 10error: aborting due to previous error 11