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
- redundant_closure_for_method_calls: fix false positive with diamond dependencies
- Clippy gets confused with different crate versions and recommends breaking change
- Lint for source files being in subpackage/ rather than subpackage/src/, when workspace includes subpackage/Cargo.toml
- `manual_clamp` improvement for unsigned types
- Add Vec<T> into Arc/Rc<[T]> lint
- Fix one `clippy_utils::ast_utils` `todo!()`
- Warn on missing `edition` field in Cargo.toml
- Add new lints: [`method_shadow_field`, `method_shadow_public_field`]
- Detect integration tests in `is_in_test`
- Doesn't trigger for slice.to_owned/to_vec calls which then passed as a slice
- Docs
- Rust not yet supported