Function get_diagnostics

Source
pub fn get_diagnostics(
    errs: &[(ExprError, Range<usize>)],
    source: &str,
) -> Vec<Diagnostic<()>>