Bogus unrelated --explain text for "error[E0507]: cannot move out of captured outer variable in an Fn
closure"
#37904
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
rustc --explain E0507
prints a message which apparently discusses "error[E0507]: cannot move out of borrowed content":(That's funny, because the error said I tried to "move out of captured outer variable in an
Fn
closure".)Fn
closure" really is the same error, this should be explained in the--explain
text.The text was updated successfully, but these errors were encountered: