1 error[E0507]: cannot move out of `s` which is behind a shared reference
2 --> $DIR/access-mode-in-closures.rs:8:15
4 LL | match *s { S(v) => v }
8 | move occurs because `v` has type `Vec<isize>`, which does not implement the `Copy` trait
10 help: consider removing the dereference here
12 LL - match *s { S(v) => v }
13 LL + match s { S(v) => v }
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0507`.