Re-exportsยง
use std::ops::ControlFlow;๐use rustc_abi::FieldIdx;๐use rustc_data_structures::graph::dominators::Dominators;๐use rustc_middle::mir::BasicBlock;๐use rustc_middle::mir::Body;๐use rustc_middle::mir::Location;๐use rustc_middle::mir::Place;๐use rustc_middle::mir::PlaceRef;๐use rustc_middle::mir::ProjectionElem;๐use rustc_middle::ty::TyCtxt;๐use tracing::debug;๐use crate::borrow_set::BorrowData;๐use crate::borrow_set::BorrowSet;๐use crate::borrow_set::TwoPhaseActivation;๐use crate::AccessDepth;๐use crate::BorrowIndex;๐use crate::places_conflict;๐use crate::places_conflict;๐
Functionsยง
- borrow_
of_ ๐local_ data - Determines if a given borrow is borrowing local data This is called for all Yield expressions on movable coroutines
- each_
borrow_ ๐involving_ path - Encapsulates the idea of iterating over every borrow that involves a particular path
- is_
active ๐ - is_
upvar_ ๐field_ projection - If
placeis a field projection, and the field is being projected from a closure type, then returns the index of the field being projected. Note that this closure will always beselfin the current MIR, because that is the only time we directly access the fields of a closure type.