-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goal
Description
The following tests rightly suggest under AST borrowck to consider adding mut
to the binding site, but there is no such suggestion under NLL.
Tests:
- augmented-assignments.rs
- codemap_tests/huge_multispan_highlight.rs
- did_you_mean/issue-31424.rs
- did_you_mean/issue-39544.rs
- macros/span-covering-argument-1.rs
- span/borrowck-borrow-overloaded-auto-deref-mut.rs
- span/borrowck-borrow-overloaded-deref-mut.rs
- span/borrowck-object-mutability.rs
(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...)
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goal