forc_util

Function create_diagnostics_renderer

Source
pub fn create_diagnostics_renderer() -> Renderer
Expand description

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,