Function std::rt::begin_panic

source ·
pub const fn begin_panic<M: Any + Send>(msg: M) -> !
🔬This is a nightly-only experimental API. (libstd_sys_internals)
Expand description

This is the entry point of panicking for the non-format-string variants of panic!() and assert!(). In particular, this is the only entry point that supports arbitrary payloads, not just format strings.