Linter for stable Rust


Are there any good linters for stable version of Rust similar to clippy?


No, as the lints themselves are compiler plugins. While it might be possible to precompile a stand-alone clippy with statically linked libsyntax (, I haven’t seen it (it’s a lot of work probably).

Please note that rustc itself already has some lints included and not all of them are enabled by default. Just have a look at rustc -W help, the first 10 or so are “allow” by default, i.e. disabled.


It should be noted though that with rustup it is really easy to develop in nightly and ship in stable.


There are plans to include clippy as something that can be installed via rustup, so it can be used without installing nightly.