Skip to main content

write_diagnostics

Function write_diagnostics 

Source
fn write_diagnostics(
    target: &mut String,
    severity: DiagnosticSeverity,
    diags_count: u16,
)
Expand description

Writes the diagnostic count directly to the target string, avoiding intermediate allocation.