pub fn diagnostic_for(
error: &ParseError,
source: &str,
file: Option<&str>,
interner: &Interner,
) -> DiagnosticExpand description
Render one parse error into the canonical logos-diagnostic/1 shape.
pub fn diagnostic_for(
error: &ParseError,
source: &str,
file: Option<&str>,
interner: &Interner,
) -> DiagnosticRender one parse error into the canonical logos-diagnostic/1 shape.