Module rustc_borrowck::diagnostics::mutability_errors
source ยท Structsยง
- Binding
Finder ๐
Enumsยง
- Access
Kind ๐
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.
- is_
closure_ ๐like If the type is aCoroutine
,Closure
, orCoroutineClosure
- suggest_
ampmut ๐ - suggest_
ampmut_ ๐self - suggest_
ref_ ๐mut If possible, suggest replacingref
withref mut
.