Skip to main content

render

Function render 

Source
pub(crate) fn render(pd: &PositionalDiagnostic) -> String
Expand description

Render a single PositionalDiagnostic to a styled string.

Includes the primary annotated snippet, plain footers, and any structured replacement suggestions as inline did you mean patches.