Skip to main content

diagnostic_for

Function diagnostic_for 

Source
pub fn diagnostic_for(
    error: &ParseError,
    source: &str,
    file: Option<&str>,
    interner: &Interner,
) -> Diagnostic
Expand description

Render one parse error into the canonical logos-diagnostic/1 shape.