📎 clippy is available as a rustup component
No more nightly updates that break clippy. No more manually cargo install clippy. You can finally get the latest in annoying/helpful static analyses on a nightly near you in just 3 easy steps: rustup update (yes this is very important, no you can’t skip it, yes rustup self update && rustup update nightly is fine, too) rustup component add clippy-preview cargo clippy Note that if you cargo uninstall clippy afterwards you will break your system and need to run rustup self update again to fix ...
Rust Internals