1 error[E0597]: `books` does not live long enough
2 --> $DIR/borrowck-escaping-closure-error-2.rs:11:17
4 LL | Box::new(|| books.push(4))
5 | ------------^^^^^---------
7 | | | borrowed value does not live long enough
8 | | value captured here
9 | borrow later used here
12 | - `books` dropped here while still borrowed
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0597`.