resume_arg,
drop: _,
} => {
+ self.visit_operand(value, source_location);
self.visit_place(
resume_arg,
PlaceContext::MutatingUse(MutatingUseContext::Store),
source_location,
);
- self.visit_operand(value, source_location);
}
}
}
TerminatorKind::Yield { ref value, resume_arg: ref place, .. } => {
+ self.gather_operand(value);
self.create_move_path(place);
self.gather_init(place.as_ref(), InitKind::Deep);
- self.gather_operand(value);
}
TerminatorKind::Drop { ref location, target: _, unwind: _ } => {