Clippy (Rust linter)
Ranked 2 of 14 linters by recommenders
Rust's linter catches bugs and poor patterns, auto-fixes many of them, and helps enforce project standards. Some lints have false positives, so not all are on by default.
Rust's linter catches bugs and poor patterns, auto-fixes many of them, and helps enforce project standards. Some lints have false positives, so not all are on by default.
89 people gave an opinion
- recommend it
- 58
- criticize it
- 31
- approval share
- 65%
Recommended in 12 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 58 people recommend itNeeds 10 or more, met.
- 1.8 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 12 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Catches bugs and improves code quality
“if Cloudflare had run the standard Clippy linter on their Rust code, and taken the results seriously, it would have prevented the issue”
Comment from 28 Feb 2026 in “Rust Is Just a Tool” “Clippy (and the Rust compiler proper) can provide so much of the concrete iterative feedback an agent needs”
Comment from 5 Dec 2025 in “Patterns for Defensive Programming in Rust” “Those warnings and clippy lints are there to improve the quality of the code and to find bugs.”
Comment from 2 Mar 2026 in “Go is the best language for agents” - Comment from 25 Nov 2025 in “APT Rust requirement raises questions”
Automatic fixes for many lints
“"cargo clippy --fix" for Rust, essentially integrated with its linter. It doesn't fix all lints, however.”
Comment from 17 Feb 2026 in “Using go fix to modernize Go code” “I was able to modernize a fairly old project in literal 15 minutes by using Cargo Clippy's fix mode”
Comment from 27 Apr 2026 in “Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain” “cargo clippy —-fix will automatically apply linter fixes or warning fixes when it can.”
Comment from 6 Jan 2026 in “C Is Best” - Comment from 12 Jan 2026 in “Finding and Fixing Ghostty's Largest Memory Leak”
Enforces standards in CI and projects
“Static linting in Rust via clippy also makes it pretty straightforward to begin enforcing things”
Comment from 9 Jul 2026 in “My Thoughts on the Bun Rust Rewrite” “I made myself pre commit hooks for running clippy nightly and deploying my standard lints”
Comment from 30 Apr 2026 in “Your Rust Clippy Config Should Be Stricter” “Put that in your CI pipeline, and voila. Global crash averted.”
Comment from 26 Nov 2025 in “Cloudflare outage should not have happened” - Comment from 9 Jan 2026 in “Kernel bugs hide for 2 years on average. Some hide for 20”
Gives coding agents useful feedback
“telling it that it has to run clippy as well as tests before it can claim it's finished helped a decent amount”
Comment from 12 May 2026 in “Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc” “I can ask the agent to make both the compiler and clippy::pedantic happy. That gives a lot of good feedback”
Comment from 21 Sep 2026 in “The Claude Delusion” “found that to drastically improve the quality of the code as the LLM now should pass all clippy checks”
Comment from 25 May 2026 in “Migrating from Go to Rust” - Comment from 12 May 2026 in “If AI Writes Your Code, Why Use Python?”
Other linters people recommend
The four most recommended other linters, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 14 linters, rankedWhat people said
40 of the 98 comments that mention it, newest first. Each links to the original comment.
“With eager clippy and cargo lints and software design as close to the type system as possible”
“I can ask the agent to make both the compiler and clippy::pedantic happy. That gives a lot of good feedback”
“Having countless very restrictive guard rails like deny(clippy::float_arithmetic) for your usecases codifies intent about project structure”
“It's a category of lints, but some of them have much more value than others”
“Clippy has lints for panicking language operations/basic std functions”
“Static linting in Rust via clippy also makes it pretty straightforward to begin enforcing things”
“the same could be told about clippy versus improving Rust”
“found that to drastically improve the quality of the code as the LLM now should pass all clippy checks”
“telling it that it has to run clippy as well as tests before it can claim it's finished helped a decent amount”
“Clippy and fmt alone often cause the LLM to hit a snag and realize it's mistake”
“I made myself pre commit hooks for running clippy nightly and deploying my standard lints”
“you can add the undocumented_unsafe_comment lint in Clippy so that you'll never forget to document an unsafe block”
“I was able to modernize a fairly old project in literal 15 minutes by using Cargo Clippy's fix mode”
“it doesn't actually have any knowledge of how frequently each variant is actually used”
“rustc and clippy do a great job of explaining like 90% of errors”
“Those warnings and clippy lints are there to improve the quality of the code and to find bugs.”
“if Cloudflare had run the standard Clippy linter on their Rust code, and taken the results seriously, it would have prevented the issue”
“I learned about a lot of small new features that make the code cleaner through clippy.”
“"cargo clippy --fix" for Rust, essentially integrated with its linter. It doesn't fix all lints, however.”
“I would strongly recommend turning on most of clippy's lints if you want to learn rust.”
“people generally find almost all of the lints in Clippy's default set useful”
“Clippy + Rusts type system would basically ensure my software was working as close as possible to my spec before the first run.”
“just "clippy" became a movement which amassed atleast millions”
“cargo clippy can fix many constructs into cleaner versions”
“Thankfully clippy lints do exist here to help if you integrate that tooling”
“Add a single line to a single file and you get that enforced.”
“cargo clippy —-fix will automatically apply linter fixes or warning fixes when it can.”
“Never thought about it, but I'll be adding this to my standard list of deny lints now.”
“the APIs that gave rise to Clippy, Rover, and (regrettably) even Bonzi Buddy”
“The solution in both languages is to use a linter to warn about the use of partial functions”
“Clippy (and the Rust compiler proper) can provide so much of the concrete iterative feedback an agent needs”
“I don't need clippy for the right to repair movement though.”
“the only thing Clippy was missing for it to be genuinely useful was... LLMs”
“the most useless dumbest biggest failure of a mega corporation”
“it wasn't as bad as it could be because the technology just wasn't there to begin with”
“you can forbid slice access and direct unwraps with clippy”
“Put that in your CI pipeline, and voila. Global crash averted.”
“things like "cargo clippy" which tell you how you could improve your code”
“This should be the default for production code at companies like Cloudflare.”
“clippy / rustc has very good diagnostics and usually tells you "do X to fix this"”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.