1 error[E0597]: `x` does not live long enough
2 --> $DIR/unboxed-closure-region.rs:18:12
4 LL | || x //~ ERROR `x` does not live long enough
5 | -- ^ borrowed value does not live long enough
9 | - borrowed value only lives until here
12 | - borrowed value needs to live until here
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0597`.