1 error[E0382]: borrow of moved value: `arc_v`
2 --> $DIR/no-capture-arc.rs:14:18
4 LL | let arc_v = Arc::new(v);
5 | ----- move occurs because `arc_v` has type `std::sync::Arc<std::vec::Vec<i32>>`, which does not implement the `Copy` trait
7 LL | thread::spawn(move|| {
8 | ------ value moved into closure here
9 LL | assert_eq!((*arc_v)[3], 4);
10 | ----- variable moved due to use in closure
12 LL | assert_eq!((*arc_v)[2], 3);
13 | ^^^^^ value borrowed here after move
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0382`.