rust-lang / rust-lang/rust-clippy

"fuzz" clippy with official rustc tests

Open
#3,142 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-an-interesting-project
Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

It would be great if we had some semi-automatic way of running clippy on all the/most of the rust tests https://github.com/rust-lang/rust/tree/master/src/test/ I believe this will unearth a couple more crashes and/or bugs.

Maybe we can hack the rustc test executor program and clamp clippy-driver in-between somehow...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the rustc test executor under src/test/ and the clippy-driver entry point. Determine whether the executor can run Clippy between test setup and execution, then define how to cover all or most official Rust tests and report crashes or bugs. Done means a repeatable semi-automatic test run with documented results.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.