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
- `map_flatten` could suggest `filter(matches!())` in case of `map( match { _ => Option }).flatten()`
- False positivie (I think): blocks_in_conditions
- nonminimal_bool and macros
- arc_with_non_send_sync could indicate why inner type needs to become Send + Sync
- Detect dereference of null pointer
- lints to disable in tests
- Add conf to disable `disallowed_types` in macros
- `Cargo clippy --fix` introduces compilation errors on `rustc 1.79.0-nightly`
- `multiple_bound_locations` triggers in macro-generated code
- `cargo clippy -- --target wasm32-unknown-unknown` results in confusing failures.
- Docs
- Rust not yet supported