Skip to main content

render_errors_short

Function render_errors_short 

pub fn render_errors_short(
    errors: &[CompileError],
    source: &str,
    filename: &str,
) -> String
Expand description

The string form of print_errors_short — one …[category]: message line per error, each newline-terminated. The renderer behind the CLI’s --format short, exposed for testing.