}
StatementKind::Retag { .. }
| StatementKind::AscribeUserType(..)
+ | StatementKind::PlaceMention(..)
| StatementKind::Coverage(..)
| StatementKind::Intrinsic(..)
| StatementKind::ConstEvalCounter
// need recording.
| TerminatorKind::Return
| TerminatorKind::Resume
- | TerminatorKind::Abort
+ | TerminatorKind::Terminate
| TerminatorKind::GeneratorDrop
| TerminatorKind::Unreachable
| TerminatorKind::Drop { .. } => {}
self.create_move_path(place);
self.gather_init(place.as_ref(), InitKind::Deep);
}
- TerminatorKind::DropAndReplace { place, ref value, .. } => {
- self.create_move_path(place);
- self.gather_operand(value);
- self.gather_init(place.as_ref(), InitKind::Deep);
- }
TerminatorKind::Call {
ref func,
ref args,
destination,
target,
- cleanup: _,
+ unwind: _,
from_hir_call: _,
fn_span: _,
} => {
options: _,
line_spans: _,
destination: _,
- cleanup: _,
+ unwind: _,
} => {
for op in operands {
match *op {