Skip to main content

format_diagnostic

Function format_diagnostic 

Source
pub fn format_diagnostic(diag: &Diagnostic, source: Option<&str>) -> String
Expand description

Format a diagnostic for human-readable CLI output: <file>:<line>:<col>: <CODE>: <message> <source line> ^