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
- new lint: add `call_missing_target_feature` lint
- unnecessary_lazy_evaluations suggests running `unsafe` code eagerly
- redundant_locals incorrectly emitted when binding in new local scope for early drop
- indexing does not trigger missing_panics_doc
- Clippy doesn't warn on `self` parameter for lints `pass-by-value-size-limit` and `trivial-copy-size-limit`
- Don't pass `vec![]` to `IntoIterator` arguments when not needed
- `manual_inspect` suggestion breaks mutating code
- `wildcard_imports` is ignored in test crates
- `needless_pass_by_ref_mut` should not trigger when values derived from the `&mut` are used in an unsafe block
- needless_borrows_for_generic_arg fires incorrectly on &mut variable inside closure
- Docs
- Rust not yet supported