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.