fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: lifetime may not live long enough 2 --> $DIR/issue-48238.rs:9:13 3 | 4LL | move || use_val(&orig); 5 | ------- ^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` 6 | | | 7 | | return type of closure is &'2 u8 8 | lifetime `'1` represents this closure's body 9 | 10 = note: closure implements `Fn`, so references to captured variables can't escape the closure 11 12error: aborting due to previous error 13