Closed
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...)