Skip to main content

translate_diagnostics_all

Function translate_diagnostics_all 

Source
pub fn translate_diagnostics_all(
    diagnostics: &[RustcDiagnostic],
    source_map: &SourceMap,
    interner: &Interner,
) -> Vec<LogosError>
Expand description

Translates EVERY rustc diagnostic that has a LOGOS reading.

Diagnostics the bridge cannot translate (rustc internals with no LOGOS counterpart) are skipped, not fabricated.