render

Function render 

Source
pub fn render(d: &Diagnostic, map: &SourceMap) -> String
Expand description

The renderer. Modelled on rustc/Elm: severity line, location, the source line with a caret span, then secondary labels, notes and the fix-it.