1 error[E0507]: cannot move out of borrowed content
2 --> $DIR/access-mode-in-closures.rs:19:15
4 LL | match *s { sty(v) => v } //~ ERROR cannot move out
7 | cannot move out of borrowed content
8 | help: consider removing the `*`: `s`
10 note: move occurs because `v` has type `std::vec::Vec<isize>`, which does not implement the `Copy` trait
11 --> $DIR/access-mode-in-closures.rs:19:24
13 LL | match *s { sty(v) => v } //~ ERROR cannot move out
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0507`.