Skip to main content

apply_fixes_with

Function apply_fixes_with 

Source
pub fn apply_fixes_with(
    input: &str,
    safety: FixSafety,
    cfg: &LintConfig,
) -> FixOutcome
Expand description

apply_fixes with a LintConfig: disabled rules contribute no fixes, and config-suppressed diagnostics (e.g. P005 extra values) are likewise never “fixed”. Severity overrides do not change fix behaviour.