Module rustc_borrowck::diagnostics::mutability_errors
source · Enums
Functions
- Given a field that needs to be mutable, returns a span where the “ mut “ could go. This function expects the local to be a reference to a struct in order to produce a span.
- If possible, suggest replacing
ref
withref mut
.