pub(crate) fn on_all_inactive_variants<'tcx>(
move_data: &MoveData<'tcx>,
enum_place: Place<'tcx>,
inactive_variants: &InactiveVariants,
handle_inactive_variant: impl FnMut(MovePathIndex),
)
Expand description
Calls handle_inactive_variant
for each child move path of enum_place
corresponding to an
inactive variant at a particular SwitchInt
edge.