Don't emit StorageDead for the resume argument
This commit is contained in:
parent
895aab2263
commit
fb66b9ee3b
@ -1128,10 +1128,6 @@ fn create_cases<'tcx>(
|
||||
Rvalue::Use(Operand::Move(resume_arg.into())),
|
||||
)),
|
||||
});
|
||||
statements.push(Statement {
|
||||
source_info,
|
||||
kind: StatementKind::StorageDead(resume_arg),
|
||||
});
|
||||
}
|
||||
|
||||
// Then jump to the real target
|
||||
|
Loading…
Reference in New Issue
Block a user