NLL diagnostics miss opportunities to suggest "use &mut Type
here to make mutable"
#51032
Closed
9 tasks
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 tests rightly suggest under AST borrowck to use a
&mut
reference in the type, but there is no such suggestion under NLL.Tests:
(This list of tests is drawn from an informal paper document that I have been using to keep notes for myself as I work on this...)
The text was updated successfully, but these errors were encountered: