1 error[E0505]: cannot move out of `v` because it is borrowed
2 --> $DIR/borrowck-loan-blocks-move-cc.rs:14:19
5 | -- borrow of `v` occurs here
6 LL | thread::spawn(move|| {
7 | ^^^^^^ move out of `v` occurs here
9 LL | println!("v={}", *v);
10 | -- move occurs due to use in closure
13 | ----------- borrow later used here
15 error[E0505]: cannot move out of `v` because it is borrowed
16 --> $DIR/borrowck-loan-blocks-move-cc.rs:24:19
19 | -- borrow of `v` occurs here
20 LL | thread::spawn(move|| {
21 | ^^^^^^ move out of `v` occurs here
23 LL | println!("v={}", *v);
24 | -- move occurs due to use in closure
27 | ----------- borrow later used here
29 error: aborting due to 2 previous errors
31 For more information about this error, try `rustc --explain E0505`.