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
- transmute_undefined_repr: no lint when transmuting into a single-field struct without `#[repr(transparent)]`
- Lint function inputs being shadowed with a mutable variable
- Respect `#[allow]`/`#[expect]` in `disallowed_macros` when the expansion contains attributes
- feat(cast_ptr_alignment): suggest using try_cast_aligned
- filter_next: handle adapter functions between filter and next
- Fix `just_underscores_and_digits` lint attribute handling
- `needless_for_each` is suggested when `for_each` actually improves performance over `for`
- feat: Add [`undeclared_type`] lint to the [`restriction`] group
- Update `path_buf_push_overwrite` logic to match `join_absolute_paths`
- feat: add lint for `map_or_else` to `map_or`
- Docs
- Rust not yet supported