macro_rules! println_error {
($($arg:tt)*) => { ... };
}Expand description
Prints an error message with red background and white text.
Supports format string syntax like format! macro:
println_error!("Error")- Simple stringprintln_error!("Error: {}", message)- Positional argumentsprintln_error!("Error: {message}")- Named arguments (Rust 1.58+)