]> git.lizzy.rs Git - rust.git/blob - src/test/ui/access-mode-in-closures.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / access-mode-in-closures.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/access-mode-in-closures.rs:19:15
3    |
4 LL |         match *s { sty(v) => v } //~ ERROR cannot move out
5    |               ^^       - hint: to prevent move, use `ref v` or `ref mut v`
6    |               |
7    |               cannot move out of borrowed content
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0507`.