rust-clippy
https://github.com/rust-lang-nursery/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- lint agains using `pub(crate)` in the crate root
- duplicated_attributes erroneously reports when two different attributes have the same reason text
- Add a "more granular lint groups" page to the book
- `clippy --fix -- -Dwarnings` does not fail on warnings
- `unnecessary_cast`: `core::ffi::c_*` cases
- `unnecessary_cast` false negative: parameter vs. local
- `ptr_arg` should not warn about &mut Vec<T> for underscore prefixed parameters
- Suggest `#[expect(...)]` instead of `#[allow(...)]` to ensure relevance
- Suggest to replace `Option.into_iter().filter_map(func).next()` with `Option.and_then(func)`
- `missing_errors_doc` dont work when attribute `#[profiling::function]` is set
- Docs
- Rust not yet supported