Function core::panicking::panic_nounwind
const: unstable · source · pub 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.