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_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
- manual_flatten ignores nested refutable pattern
- `map_flatten` could suggest `filter(matches!())` in case of `map( match { _ => Option }).flatten()`
- fn_to_numeric_cast_any should not warn cast to pointer
- Docs
- Rust not yet supported