rust-clippy
https://github.com/rust-lang/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
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
- `Option::and_then(|v| ...(&v).then_some(v))` to `Option::filter(|v| ...(v))`
- `empty_enum_variants_with_brackets`: Do not lint reachable enums and enum variants used as functions in the same crate
- `manual_unwrap_or_default` invalid suggestion on macro expanded code
- Resolve duplicate diag message for: tests/ui/renamed_builtin_attr.rs
- Warn against non-obvious const shadowing
- Unify `manual_unwrap_or_default` and `manual_unwrap_or` on the same file
- `clippy::clone_on_copy` following recommendation on lock guards can lead to dead locks
- Calling .metadata() just for .is_{file,dir,symlink} when DirEntry is available
- cached rustc failure with -W all
- Compiler errors after clippy fixes. Maybe issue with WebAssembly attribute.
- Docs
- Rust not yet supported