rust-lang / rust-lang/rust-clippy
Coccinelle files generated by Clippy?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
An idea is to add a switch to Clippy to make it generate a Coccinelle file that fixes a good part of the problems that Clippy has found in a source file.
Info about the Coccinelle tool for Rust:
https://gitlab.inria.fr/coccinelle/coccinelleforrust/
https://docs.kernel.org/dev-tools/coccinelle.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Clippy's lint output and the linked Coccinelle for Rust documentation to determine how the tools could interact. Define the switch, the supported findings, and the generated Coccinelle file format; done means Clippy can generate an actionable file for a documented subset of its findings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100