summary refs log tree commit diff
path: root/src/test/ui/borrowck/borrowck-feature-nll-overrides-migrate.edition.stderr
blob: 9059ef438d0f59deb2fc278ad5065aea5c2204c2 (plain)
1
2
3
4
5
6
7
8
9
error[E0507]: cannot move out of borrowed content
  --> $DIR/borrowck-feature-nll-overrides-migrate.rs:22:17
   |
LL |                 (|| { let bar = foo; bar.take() })();
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot move out of borrowed content

error: aborting due to previous error

For more information about this error, try `rustc --explain E0507`.