pub fn print_diagnostics(db: &dyn SourceDb, diagnostics: &[Diagnostic])
Print the given diagnostics to stderr.