Announcing the Clippy feature freeze

by jmillikinon 6/22/2025, 7:07 AMwith 9 comments

by andy_pppon 6/22/2025, 8:45 AM

FYI “Rust’s Clippy is a collection of lints (static analysis rules) designed to catch common mistakes and suggest improvements in your Rust code.”

by PartiallyTypedon 6/22/2025, 8:58 AM

I’ve contributed quite a few patches into clippy, it’s a great project and a great way to learn how the rustc “sees” code; from the AST, to HIR, to using typeck — sometimes we even construct types at runtime to validate the code against — to tracking traits and their implementations across a whole crate!

Clippy really is a labour of love project, and it’s been great to work with these folk <3

I will try to pick up some issues in the coming weeks.

by lewdwigon 6/22/2025, 10:27 AM

If Clippy struggles to account for current and future changes to the Rust compiler this to me raises an obvious question: why isn’t Clippy part of the Rust compiler?

by jedisct1on 6/22/2025, 11:09 AM

Just to be clear, this has nothing to do with Microsoft Clippy. This post is about a tool for a programming language called Rust.

by ishanjain28on 6/22/2025, 12:20 PM

Unrelated, Is there a clippy lint to detect when you fill up and array/collection and immediately call clear on it ?