Skip to main content

plan_fixes

Function plan_fixes 

Source
pub fn plan_fixes(
    source: &str,
    fixes: Vec<Fix>,
    allowed_applicability: &[FixApplicability],
    protected_ranges: &[ProtectedRange],
) -> PlanResult
Expand description

Plan fixes deterministically and collect blocked reasons.

Order is deterministic by: priority, first edit start, rule_code, then additional stable tie-breakers.

If allowed_applicability is empty, all applicability classes are allowed.