[][src]Macro proc_macro_error::emit_call_site_error

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

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.