pub fn print_parse_diagnostics<T: Error>( ui: &Ui, context_message: &str, diagnostics: &Diagnostics<T>, ) -> Result<()>
Prints diagnostic messages emitted during parsing.