core::panicking

Function panic_nounwind

Source
pub const fn panic_nounwind(expr: &'static str) -> !
🔬This is a nightly-only experimental API. (panic_internals)
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.