]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-27282-move-ref-mut-into-guard.stderr
Auto merge of #53295 - estebank:on-unimplemented, r=michaelwoerister
[rust.git] / src / test / ui / issues / issue-27282-move-ref-mut-into-guard.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/issue-27282-move-ref-mut-into-guard.rs:24:18
3    |
4 LL |             if { (|| { let bar = foo; bar.take() })(); false } => {},
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`.