DiagnosticRefinement
interface DiagnosticRefinement
Refines diagnostics emitted by a rule.
Rule sets can use refinements when a dialect or integration has enough context to narrow diagnostics from another rule set without moving that dialect-specific knowledge into the original rule.