Skip to main content

Module builder

Module builder 

Source

Structs§

RegisteredDiagnostic
Builds a Diagnostic for a rule that is registered in the rule registry.

Functions§

diagnostic_from_parse_defect
Converts a parse-time defect from the template model into a full Diagnostic, sourcing severity, category, origin, and description from the rule registry. This is the single boundary where the model’s plain findings acquire reporting metadata; like RegisteredDiagnostic::build, it panics if the defect’s rule ID is not registered.