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
5 | ^^ - hint: to prevent move, use `ref v` or `ref mut v`
7 | cannot move out of borrowed content
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0507`.