1 error: borrowed data cannot be stored outside of its closure
2 --> $DIR/regions-escape-bound-fn-2.rs:8:27
5 | ----- borrowed data cannot be stored into here...
6 LL | with_int(|y| x = Some(y));
7 | --- ^ cannot be stored outside of its closure
9 | ...because it cannot outlive this closure
11 error: aborting due to previous error