Re-exportsΒ§
use rustc_abi::VariantIdx;πuse rustc_middle::mir;πuse rustc_middle::mir::Body;πuse rustc_middle::mir::Location;πuse rustc_middle::mir::Terminator;πuse rustc_middle::mir::TerminatorKind;πuse smallvec::SmallVec;πuse tracing::debug;πuse super::move_paths::InitKind;πuse super::move_paths::LookupResult;πuse super::move_paths::MoveData;πuse super::move_paths::MovePathIndex;π
EnumsΒ§
- Drop
Flag State - The value of an inserted drop flag.
- Inactive
Variants π - Indicates which variants are inactive at a
SwitchIntedge by listing theirVariantIdxs or specifying the single active variantβsVariantIdx.
FunctionsΒ§
- drop_
flag_ effects_ for_ function_ entry - Calls
callbackfor each child move path of the functionβs arguments. Note the move pathsβDropFlagStateargument to the callback will always beDropFlagState::Present. - drop_
flag_ effects_ for_ location - for_
location_ πinits - move_
path_ children_ matching - on_
all_ children_ bits - on_
all_ πinactive_ variants - Calls
handle_inactive_variantfor each child move path ofenum_placecorresponding to an inactive variant at a particularSwitchIntedge. - on_
lookup_ result_ bits