pub(crate) const LINTS_FIX: &[(&str, fn(&[String]) -> fn(&Path) -> LintFnResult)];Expand description
Workspace lint fix set.
Contains mutating lints for rapid remediation of formatting / unused dependencies / manifest ordering.
Execution model:
- Parallel thread spawn identical to
LINTS_CHECK; ordering of slice elements defines deterministic join & reporting sequence.
Output contract:
- Same reporting shape as
LINTS_CHECK: name, duration snippet (time=<Duration>), status code, stripped stdout or error. - Aggregate process exit code is 1 if any lint fails (non-zero status or panic), else 0.
Rationale:
- Focused mutation set avoids accidentally introducing changes via check-only tools.
- Deterministic ordered output aids CI log diffing while retaining concurrency for speed.
- Mirrors structure of
LINTS_CHECKfor predictable maintenance (additions require updating both tables).