rust-clippy
https://github.com/rust-lang/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
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
- allow() fails when other warnings trigger (possibly on macro)
- `unsafe_derive_deserialize` fires for `unsafe` blocks in associated constants
- `unsafe { ffi(generic_bytes.as_ref().as_ptr(), generic_bytes.as_ref().len()) }` trusts `AsRef` impl
- match_bool with named consts should be considered idiomatic
- lint for ref-to-ref transmute, which may contain padding bytes
- Implement `std::iter::Sum` if `std::ops::Add` is implemented
- Suggest Iterator::min_by_key (and similar methods)
- Workspace dependencies
- Add `cast_known_wrap` for known bad casts in const contexts (`cast_possible_wrap`)
- ICE: forcing query with already existing `DepNode`
- Docs
- Rust not yet supported