Cannot assign to captured outer variable in an FnMut
closure diagnostic
#41790
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
WG-diagnostics
Working group: Diagnostics
produces
but should produce
cc @estebank, you implemented a similar change for moves: #41523.
The text was updated successfully, but these errors were encountered: