proc_macro_error

Macro abort

Source
macro_rules! abort {
    ($err:expr) => { ... };
    ($span:expr, $($tts:tt)*) => { ... };
}
Expand description

Abort proc-macro execution right now and display the error.

ยงSyntax

See the guide.