pub fn create_diagnostics_renderer() -> Renderer
Creates Renderer for printing warnings and errors.
To ensure the same styling of printed warnings and errors across all the tools, always use this function to create Renderers,