Skip to main content

panic_nounwind

Function panic_nounwind 

Source
pub const fn panic_nounwind(expr: &'static str) -> !
🔬This is a nightly-only experimental API. (panic_internals)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description

Like panic, but without unwinding and track_caller to reduce the impact on codesize on the caller. If you want #[track_caller] for nicer errors, call panic_nounwind_fmt directly.