1 error[E0382]: use of moved value: `arc_v`
2 --> $DIR/no-reuse-move-arc.rs:12:18
4 LL | thread::spawn(move|| {
5 | ------ value moved (into closure) here
7 LL | assert_eq!((*arc_v)[2], 3);
8 | ^^^^^ value used here after move
10 = note: move occurs because `arc_v` has type `std::sync::Arc<std::vec::Vec<i32>>`, which does not implement the `Copy` trait
12 error[E0382]: use of moved value: `arc_v`
13 --> $DIR/no-reuse-move-arc.rs:14:23
15 LL | thread::spawn(move|| {
16 | ------ value moved (into closure) here
18 LL | println!("{:?}", *arc_v);
19 | ^^^^^ value used here after move
21 = note: move occurs because `arc_v` has type `std::sync::Arc<std::vec::Vec<i32>>`, which does not implement the `Copy` trait
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0382`.