macro_rules! println_warning {
($($arg:tt)*) => { ... };
}Expand description
Prints a warning message with yellow background and white text.
Supports format string syntax like the format! macro:
println_warning!(body)- Simple string with no argumentsprintln_warning!(body, error)- Positional arguments replaced by{}println_warning!(body, error = value)- Named arguments replaced by{error}(Rust 1.58+)