Skip to main content

render_errors

Function render_errors 

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

Render a list of compile errors to a string (for tests) using the given filename as the diagnostic source label.