Skip to content

Add the clippy/rust verison of lint introduced to the website #6492

Closed
@xFrednet

Description

@xFrednet

It might be useful to include the Rust and Clippy version that a lint was introduces on the lint list. This feature is useful for two reasons:

  1. It can happen that users pinned the compiler version for a project. (I believe that this is more common in other languages as Rust has a high compatibility grantee). It might than be interesting to know if a lint is already available for the compiler version they are using.
  2. The current README links to the lint list of master this already includes lints that are not included in the current stable rust version. Displaying the introduction version could reduce confusion

The versions should in my opinion be a part of the lint data (lints.json) for the website as loading the version dynamically would take up unnecessary performance.

@rustbot label +L-website, +C-needs-discussion

Metadata

Metadata

Assignees

Labels

A-websiteArea: Improving the clippy websiteC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions