make_failure

Function make_failure 

Source
pub fn make_failure(
    code: &RuleCode,
    name: &str,
    severity: Severity,
    category: RuleCategory,
    message: impl Into<String>,
    line: u32,
    column: u32,
    fixable: bool,
) -> CheckFailure
Expand description

Helper to create a check failure for a rule.