pub fn print_diagnostics(diagnostics: &[Diagnostic])
Expand description

Print the diagnostics to stderr

The diagnostics are printed in the same style as rustc errors

This function is available when the display-diagnostics is enabled.