Macro core::panic::panic_2015

source ·
pub macro panic_2015 {
    () => { ... },
    ($msg:literal $(,)?) => { ... },
    ($msg:expr $(,)?) => { ... },
    ("{}", $arg:expr $(,)?) => { ... },
    ($fmt:expr, $($arg:tt)+) => { ... },
}
🔬This is a nightly-only experimental API. (edition_panic)