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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Fix `type_complexity` false positive on types containing `impl Trait`
- Fix `unnecessary_cast` not suppressing casts involving external assoc…
- test_attr_in_doctest emits for attribute not related to actual test functions
- Add `std_wildcard_imports` lint for wildcard imports from standard library crates
- Fix cast_possible_truncation false positive when the min bound is a n…
- feat: add `invalid_nonzero` lint
- Add `stacked_if_match` lint for visually stacked `if if` and `match match' expressions
- Add a lint for `NonZero::new(0)` literal type footgun
- The `disallowed_types` lint also lints when the type comes from a macro expansion in a different crate
- Look for `clippy.toml` in `.cargo/` and `.config/` directories
- Docs
- Rust not yet supported