Expand description
Rule execution, reporting, fixing, and suppression cleanup.
Modulesยง
Structsยง
- File
Result ๐ - RunCtx
- Inputs needed by
runandcollect_violations.
Enumsยง
- Analysis
Error ๐ - FixMode
- How the runner should handle auto-fixable violations.
Constantsยง
- MAX_
FIX_ ๐ITERATIONS
Functionsยง
- analysis_
paths ๐ - analyze_
path ๐ - analyze_
paths ๐ - apply_
and_ ๐verify - cargo_
target_ dir - Resolve the target directory Cargo uses for workspace tooling.
- clean_
suppressions - Remove only suppression targets that do not cover an underlying violation.
- collect_
violations ๐ - Walk the target crates in parallel and collect all violations (and optional fixes) from every enabled rule.
- complete_
cache_ ๐result - enabled_
rules ๐ - matches_
rule_ ๐filter - merge_
file_ ๐results - persist_
complete_ ๐cache - persist_
file_ ๐cache - persist_
workspace_ ๐cache - report_
suppressions - Print every
#t(...)directive found across the selected crates as a grouped table. - require_
complete_ ๐analysis - resolve_
cargo_ ๐target_ dir - retain_
targets ๐ - run
- Run tidy rules with human-readable terminal output. Returns
trueif clean. - workspace_
violations ๐
Type Aliasesยง
- Analysis
Result ๐ - Collected
Analysis ๐ - Collected
Results ๐ - File
Analysis ๐