1 warning[E0507]: cannot move out of borrowed content
2 --> $DIR/borrowck-migrate-to-nll.rs:35: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 It represents potential unsoundness in your code.
9 This warning will become a hard error in the future.