Clippy.
Catch unidiomatic Rust and common bugs
Evaluate compiler-aware lints across supported targets. Set the lint policy in the crate or workspace and explain local allowances beside the affected code.
Rust
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedClippy divides lints into groups and documents which findings imply incorrect code, which flag suspicious constructs and which depend on project preferences.
Measurement
VerifiedRunning cargo clippy with warnings denied turns emitted lint warnings into compilation failures using the project's Rust toolchain.
Conformance
VerifiedClippy's UI fixture for eq_op includes annotated expressions that should trigger a diagnostic and counterexamples that should compile without it. This tests one lint.
CI enforcement
VerifiedThe Clippy book recommends a CI invocation with -Dwarnings to prevent a job from passing while lint warnings remain.
Getting started
VerifiedThe Cargo usage guide points to installation, runs cargo clippy on a crate with the default lint group, and demonstrates promoting warnings to errors.
Real-world adoption
VerifiedSeikika's own CI runs Clippy with warnings denied across build targets. This is evidence of one Rust workspace applying the policy.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
cargo clippy --all-targets -- -D warnings
Agent prompt
Use Clippy in this repository to meet this standard: Catch unidiomatic Rust and common bugs. Evaluate compiler-aware lints across supported targets. Set the lint policy in the crate or workspace and explain local allowances beside the affected code. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.