std::intrinsics::mir

Function UnwindTerminate

Source
pub fn UnwindTerminate(reason: UnwindTerminateReason) -> UnwindActionArg
🔬This is a nightly-only experimental API. (custom_mir)
Expand description

An unwind action that terminates the execution.

UnwindTerminate can also be used as a terminator.