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
- Add `test_without_fail_case` lint to check if a test actually has a way to fail or not
- Suggest to replace `if xxx { Some(yyy) } else {None}` with `(xxx).then(|| yyy)`
- new lint: infallible TryFrom
- Autofix `explicit_counter_loop` (MaybeIncorrect) produces invalid rust code.
- Add lint for functions which never return
- `unsafe extern` support (`undocumented_unsafe_blocks`?)
- Implement a ReturnVisitor
- Internal utility for visiting all returns
- Lint against `Vec` deref in `Read::read`
- Eternal lint on a recursive tree
- Docs
- Rust not yet supported