mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Revert box_free unwind action
This commit is contained in:
parent
de3f8a1578
commit
5ae3a53a44
@ -946,7 +946,11 @@ where
|
|||||||
args,
|
args,
|
||||||
destination: unit_temp,
|
destination: unit_temp,
|
||||||
target: Some(target),
|
target: Some(target),
|
||||||
unwind: UnwindAction::Terminate,
|
unwind: if unwind.is_cleanup() {
|
||||||
|
UnwindAction::Terminate
|
||||||
|
} else {
|
||||||
|
UnwindAction::Continue
|
||||||
|
},
|
||||||
from_hir_call: false,
|
from_hir_call: false,
|
||||||
fn_span: self.source_info.span,
|
fn_span: self.source_info.span,
|
||||||
}; // FIXME(#43234)
|
}; // FIXME(#43234)
|
||||||
|
Loading…
Reference in New Issue
Block a user