Skip to main content

run_and_report

Function run_and_report 

Source
pub(crate) fn run_and_report(
    lint_name: &str,
    path: &Path,
    run: fn(&Path) -> LintFnResult,
) -> LintFnResult
Expand description

Run a single lint, measure its duration, and report immediately.