1 error[E0373]: closure may outlive the current block, but it borrows `p`, which is owned by the current block
2 --> $DIR/borrowck-3.rs:11:9
5 | ^^ may outlive borrowed value `p`
7 LL | println!("{:?}", p);
8 | - `p` is borrowed here
10 note: block requires argument type to outlive `'1`
11 --> $DIR/borrowck-3.rs:9:9
15 help: to force the closure to take ownership of `p` (and any other referenced variables), use the `move` keyword
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0373`.