pub fn format_diagnostic(diag: &Diagnostic, source: Option<&str>) -> StringExpand description
Format a diagnostic for human-readable CLI output:
<file>:<line>:<col>: <CODE>: <message>
<source line>
^
pub fn format_diagnostic(diag: &Diagnostic, source: Option<&str>) -> StringFormat a diagnostic for human-readable CLI output:
<file>:<line>:<col>: <CODE>: <message>
<source line>
^