pub fn render(diagnostics: &[Diagnostic], format: MessageFormat) -> String
Render diagnostics for stderr.