core::panicking

Function panic

Source
pub const fn panic(expr: &'static str) -> !
🔬This is a nightly-only experimental API. (panic_internals)
Expand description

The underlying implementation of core’s panic! macro when no formatting is used.