pub const fn begin_panic<M>(msg: M) -> !where
    M: Any + Send,
🔬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.