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
- `manual_unwrap_or_default` suggested fix fails to compile due to missing type annotation
- `let_unit_value` and `no_effect` trigger for static assertions
- fix [`undocumented_unsafe_blocks`] FP with trait/impl items
- manual_async_fn suggestions breaks code if !Send types involved
- `--fix` with `-Zthreads=8` on large workspace hangs
- default_constructed_unit_structs sugg causes error
- Unifying an invariant lifetime with a covariant one is almost always bad
- New lint to ensure `Default::default` calls `T::new`, rather than vice versa.
- compilation failure after applying lint `filter_map_identity`
- manual_map sugg with dyn causes error
- Docs
- Rust not yet supported