Skip to main content

collect_violations

Function collect_violations 

Source
pub(crate) fn collect_violations(
    ctx: &RunCtx<'_>,
    fix_mode: bool,
    paths_override: Option<Vec<PathBuf>>,
) -> Result<(Vec<Violation>, Vec<(String, Fix)>, Vec<TreeFix>), AnalysisError>
Expand description

Walk the target crates in parallel and collect all violations (and optional fixes) from every enabled rule.