Function core::panicking::panic_fmt

const: unstable · source ·
pub fn panic_fmt(fmt: Arguments<'_>) -> !
🔬This is a nightly-only experimental API. (core_panic)
Expand description

The entry point for panicking with a formatted message.

This is designed to reduce the amount of code required at the call site as much as possible (so that panic!() has as low an impact on (e.g.) the inlining of other functions as possible), by moving the actual formatting into this shared place.

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