]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-0107-bind-by-move-pattern-guards/rfc-reject-double-move-across-arms.stderr
Rollup merge of #54838 - 11Takanori:fix-typo, r=petrochenkov
[rust.git] / src / test / ui / rfc-0107-bind-by-move-pattern-guards / rfc-reject-double-move-across-arms.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/rfc-reject-double-move-across-arms.rs:8:36
3    |
4 LL |         VecWrapper::A(v) if { drop(v); false } => 1,
5    |                                    ^ cannot move out of borrowed content
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0507`.