rust-lang / rust-lang/rust-clippy

"Updated In" for lints

Open
#9,166 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-website
Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

Description

Clippy currently has an "Added in" field for lints, I think it'd be a good idea to introduce an "Updated In" field that has the version in which fixes / improvements / category changes were made.

Of course since it wouldn't necessarily make sense to retroactively add it to existing lints, it could be an Option

Version
rustc 1.62.0 (a8314ef7d 2022-06-27)
binary: rustc
commit-hash: a8314ef7d0ec7b75c336af2c9857bfaf43002bfc
commit-date: 2022-06-27
host: aarch64-apple-darwin
release: 1.62.0
LLVM version: 14.0.5
Additional Labels

No response

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

No files or tests are named. Start by locating how Clippy lint metadata currently records and renders the existing "Added in" field, then trace the related documentation generation and tests. Done means an optional "Updated In" version can be recorded for applicable lints and appears correctly wherever lint metadata is shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.