Function std::panicking::begin_panic[][src]

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

used by the panic! macro

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.