Too many errors for incorrect move in loop with NLL enabled #53807
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-NLL
Area: Non-lexical lifetimes (NLL)
NLL-diagnostics
Working towards the "diagnostic parity" goal
The following code with NLL enabled:
Has way too many errors being emitted:
Third and fourth are completely redundant, and all of them are talking about complaining about the same underlying problem. There should be only one error being emitted, ideally the second.
The text was updated successfully, but these errors were encountered: