fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0597]: `x` does not live long enough 2 --> $DIR/unboxed-closure-region.rs:8:12 3 | 4LL | let _f = { 5 | -- borrow later stored here 6LL | let x = 0; 7LL | || x 8 | -- ^ borrowed value does not live long enough 9 | | 10 | value captured here 11LL | }; 12 | - `x` dropped here while still borrowed 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0597`.