Skip to main content

cluster

Function cluster 

Source
pub fn cluster(diagnostics: Vec<StructuredDiagnostic>) -> Vec<DiagnosticCluster>
Expand description

Group diagnostics by (class, code). Secondary (non-primary) diagnostics with no code of their own fold into the preceding primary’s cluster — that is the cascade rule.