macro_rules! error {
($($args:tt)+) => { ... };
}Expand description
Emit a diagnostic of level Level::Error with a formatted message.
Example:
error!(span, "unable to parse identifier: {}", ident);macro_rules! error {
($($args:tt)+) => { ... };
}Emit a diagnostic of level Level::Error with a formatted message.
Example:
error!(span, "unable to parse identifier: {}", ident);