Function core::panicking::panic

const: unstable · source · []
pub fn panic(expr: &'static str) -> !
🔬 This is a nightly-only experimental API. (core_panic)
Expand description

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

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.