Macro proc_macro_error2::emit_call_site_error

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

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

§Syntax

See the guide.