Skip to main content

format_parse_error

Function format_parse_error 

Source
pub fn format_parse_error(
    file: &str,
    source: &str,
    code: &str,
    message: &str,
    pos: u32,
    extra_notes: &[String],
) -> FormattedDiagnostic
Expand description

Parse or lex error at a byte offset, rendered as file:line:col (#109).