Revert box_free unwind action

This commit is contained in:
Gary Guo 2022-11-17 16:07:45 +00:00
parent de3f8a1578
commit 5ae3a53a44

View File

@ -946,7 +946,11 @@ where
args,
destination: unit_temp,
target: Some(target),
unwind: UnwindAction::Terminate,
unwind: if unwind.is_cleanup() {
UnwindAction::Terminate
} else {
UnwindAction::Continue
},
from_hir_call: false,
fn_span: self.source_info.span,
}; // FIXME(#43234)