1 warning[E0507]: cannot move out of borrowed content
2 --> $DIR/borrowck-migrate-to-nll.rs:25:17
4 LL | (|| { let bar = foo; bar.take() })();
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot move out of borrowed content
7 = warning: this error has been downgraded to a warning for backwards compatibility with previous releases
8 = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future
9 = note: for more information, try `rustc --explain E0729`