]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-feature-nll-overrides-migrate.zflag.stderr
Auto merge of #52863 - steveklabnik:update-books, r=Mark-Simulacrum
[rust.git] / src / test / ui / borrowck / borrowck-feature-nll-overrides-migrate.zflag.stderr
1 error[E0507]: cannot move out of borrowed content
2   --> $DIR/borrowck-feature-nll-overrides-migrate.rs:32:17
3    |
4 LL |                 (|| { let bar = foo; bar.take() })();
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`.