Hacker ApprovedDepartments

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%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. 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”
  • 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”
  • 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”
  • 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”

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.

Clippy (Rust linter) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Ruff1151688%11—Approved
Clippy (Rust linter)This page583165%12——
ESLint322259%11——
Biome23582%10—Approved
Oxlint20580%7—Approved
See all 14 linters, ranked

What 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”

RecommendsComment from 25 Sep 2026 in “Topcoat is pushing the boundary of server applications with Rust”

“I can ask the agent to make both the compiler and clippy::pedantic happy. That gives a lot of good feedback”

RecommendsComment from 21 Sep 2026 in “The Claude Delusion”

“Having countless very restrictive guard rails like deny(clippy::float_arithmetic) for your usecases codifies intent about project structure”

RecommendsComment from 13 Sep 2026 in “From Git to Fossil (2025)”

“It's a category of lints, but some of them have much more value than others”

MixedComment from 11 Sep 2026 in “Rust is tier-1 language at Microsoft”

“Clippy has lints for panicking language operations/basic std functions”

RecommendsComment from 8 Aug 2026 in “Rust project goals: Immobile types and guaranteed destructors”

“Static linting in Rust via clippy also makes it pretty straightforward to begin enforcing things”

RecommendsComment from 9 Jul 2026 in “My Thoughts on the Bun Rust Rewrite”

“the same could be told about clippy versus improving Rust”

MixedComment from 16 Jun 2026 in “Memory safety CVEs differ between Rust and C/C++”

“found that to drastically improve the quality of the code as the LLM now should pass all clippy checks”

RecommendsComment from 25 May 2026 in “Migrating from Go to Rust”

“telling it that it has to run clippy as well as tests before it can claim it's finished helped a decent amount”

RecommendsComment from 12 May 2026 in “Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc”

“Clippy and fmt alone often cause the LLM to hit a snag and realize it's mistake”

RecommendsComment from 12 May 2026 in “If AI Writes Your Code, Why Use Python?”

“I made myself pre commit hooks for running clippy nightly and deploying my standard lints”

RecommendsComment from 30 Apr 2026 in “Your Rust Clippy Config Should Be Stricter”

“you can add the undocumented_unsafe_comment lint in Clippy so that you'll never forget to document an unsafe block”

RecommendsComment from 29 Apr 2026 in “Bugs Rust Won't Catch”

“I was able to modernize a fairly old project in literal 15 minutes by using Cargo Clippy's fix mode”

RecommendsComment from 27 Apr 2026 in “Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain”

“it doesn't actually have any knowledge of how frequently each variant is actually used”

MixedComment from 26 Apr 2026 in “Box to Save Memory in Rust”

“rustc and clippy do a great job of explaining like 90% of errors”

RecommendsComment from 21 Mar 2026 in “OpenCode – The open source AI coding agent”

“Those warnings and clippy lints are there to improve the quality of the code and to find bugs.”

RecommendsComment from 2 Mar 2026 in “Go is the best language for agents”

“if Cloudflare had run the standard Clippy linter on their Rust code, and taken the results seriously, it would have prevented the issue”

RecommendsComment from 28 Feb 2026 in “Rust Is Just a Tool”

“I learned about a lot of small new features that make the code cleaner through clippy.”

RecommendsComment from 17 Feb 2026 in “Using go fix to modernize Go code”

“"cargo clippy --fix" for Rust, essentially integrated with its linter. It doesn't fix all lints, however.”

RecommendsComment from 17 Feb 2026 in “Using go fix to modernize Go code”

“I would strongly recommend turning on most of clippy's lints if you want to learn rust.”

RecommendsComment from 7 Feb 2026 in “Software Factories and the Agentic Moment”

“people generally find almost all of the lints in Clippy's default set useful”

RecommendsComment from 26 Jan 2026 in “There Is an AI Code Review Bubble”

“Clippy + Rusts type system would basically ensure my software was working as close as possible to my spec before the first run.”

RecommendsComment from 26 Jan 2026 in “There Is an AI Code Review Bubble”

“just "clippy" became a movement which amassed atleast millions”

MixedComment from 17 Jan 2026 in “Our approach to advertising and expanding access to ChatGPT”

“cargo clippy can fix many constructs into cleaner versions”

RecommendsComment from 12 Jan 2026 in “Finding and Fixing Ghostty's Largest Memory Leak”

“Thankfully clippy lints do exist here to help if you integrate that tooling”

RecommendsComment from 11 Jan 2026 in “C++ std::move doesn't move anything: A deep dive into Value Categories”

“Add a single line to a single file and you get that enforced.”

RecommendsComment from 9 Jan 2026 in “Kernel bugs hide for 2 years on average. Some hide for 20”

“cargo clippy —-fix will automatically apply linter fixes or warning fixes when it can.”

RecommendsComment from 6 Jan 2026 in “C Is Best”

“Never thought about it, but I'll be adding this to my standard list of deny lints now.”

RecommendsComment from 25 Dec 2025 in “Map: Operator[] Should Be Nodiscard”

“the APIs that gave rise to Clippy, Rover, and (regrettably) even Bonzi Buddy”

MixedComment from 24 Dec 2025 in “Microsoft Agent Framework”

“The solution in both languages is to use a linter to warn about the use of partial functions”

RecommendsComment from 6 Dec 2025 in “Patterns for Defensive Programming in Rust”

“Clippy (and the Rust compiler proper) can provide so much of the concrete iterative feedback an agent needs”

RecommendsComment from 5 Dec 2025 in “Patterns for Defensive Programming in Rust”

“I don't need clippy for the right to repair movement though.”

MixedComment from 29 Nov 2025 in “Be Like Clippy”

“the only thing Clippy was missing for it to be genuinely useful was... LLMs”

MixedComment from 29 Nov 2025 in “Be Like Clippy”

“the most useless dumbest biggest failure of a mega corporation”

MixedComment from 29 Nov 2025 in “Be Like Clippy”

“it wasn't as bad as it could be because the technology just wasn't there to begin with”

MixedComment from 29 Nov 2025 in “Be Like Clippy”

“you can forbid slice access and direct unwraps with clippy”

RecommendsComment from 27 Nov 2025 in “Cloudflare outage should not have happened”

“Put that in your CI pipeline, and voila. Global crash averted.”

RecommendsComment from 26 Nov 2025 in “Cloudflare outage should not have happened”

“things like "cargo clippy" which tell you how you could improve your code”

RecommendsComment from 25 Nov 2025 in “APT Rust requirement raises questions”

“This should be the default for production code at companies like Cloudflare.”

RecommendsComment from 19 Nov 2025 in “Cloudflare outage on November 18, 2025 post mortem”

“clippy / rustc has very good diagnostics and usually tells you "do X to fix this"”

RecommendsComment from 4 Nov 2025 in “Pain Points of OCaml”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.