1 error[E0597]: `i` does not live long enough
2 --> $DIR/regions-steal-closure.rs:14:28
4 LL | box_it(Box::new(|| i += 1)) //~ ERROR `i` does not live long enough
5 | -- ^ borrowed value does not live long enough
9 | - borrowed value only lives until here
10 LL | cl_box.cl.call_mut(());
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`.