Expand description
MIR borrow checker, which is used in diagnostics like unused_mut
Structsยง
Enumsยง
- Mutability
Reason - Stores spans which implies that the local should be mutable.
- Projection
Case ๐
Functionsยง
- all_
mir_ ๐bodies - borrow_
regions ๐ - ever_
initialized_ ๐map - Returns a map from basic blocks to the set of locals that might be ever initialized before
the start of the block. Only
StorageDeadcan remove something from this map, and we ignoreUninitanddropand similar after initialization. - moved_
out_ ๐of_ ref - mutability_
of_ ๐locals - partially_
moved ๐ - place_
case ๐ - push_
mut_ ๐span - record_
usage ๐ - record_
usage_ ๐for_ operand