Skip to main content

print_warning

Function print_warning 

Source
pub fn print_warning(msg: &str)
Expand description

Print a warning message (yellow exclamation)

To stderr, like errors: warnings can fire while stdout is a pipe or holds a pending --json document (adapter drift notices, the criterion note), and a warning printed into that stream is either invisible or a parse error.