Skip to main content

print_errors

Function print_errors 

Source
pub fn print_errors(
    errors: &[CompileError],
    source: &str,
    filename: &str,
    color: bool,
)
Expand description

Render to stderr, used by the CLI; coloured when color is on (the caller’s --color decision for stderr: crate::colour::stderr).