proc_macro_error

Function abort_if_dirty

Source
pub fn abort_if_dirty()
Expand description

Abort macro execution and display all the emitted errors, if any.

Does nothing if no errors were emitted (warnings do not count).