]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-0107-bind-by-move-pattern-guards/rfc-reject-double-move-in-first-arm.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / rfc-0107-bind-by-move-pattern-guards / rfc-reject-double-move-in-first-arm.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/rfc-reject-double-move-in-first-arm.rs:9:30
3    |
4 LL |         A { a: v } if { drop(v); true } => v,
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`.