Macro proc_macro_error2::abort_call_site

source ·
macro_rules! abort_call_site {
    ($($tts:tt)*) => { ... };
}
Expand description

Shortcut for abort!(Span::call_site(), msg...). This macro is still preferable over plain panic, panics are not for error reporting.

§Syntax

See the guide.