self.gather_operand(discr);
}
- TerminatorKind::Yield { ref value, .. } => {
+ 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);
}
TerminatorKind::Drop { ref location, target: _, unwind: _ } => {