-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-documentationArea: Adding or improving documentationArea: Adding or improving documentationA-websiteArea: Improving the clippy websiteArea: Improving the clippy websiteL-suggestionLint: Improving, adding or fixing lint suggestionsLint: Improving, adding or fixing lint suggestions
Description
Now that cargo fix
support is on the way for Clippy, it would be nice to update the lint docs to show which lints support auto-correct.
Since a lint can be emitted in different ways with different applicabilities, we have to decide which lints to include:
- Lints where all emitted diagnostics are
MachineApplicable
- Lints that emit at least one
MachineApplicable
diagnostic
Apart from that we also have to somehow obtain this data. This is probably not going to be easy since our existing python tools for the website have pretty much no way to find out the applicability of lints.
JohnTitor
Metadata
Metadata
Assignees
Labels
A-documentationArea: Adding or improving documentationArea: Adding or improving documentationA-websiteArea: Improving the clippy websiteArea: Improving the clippy websiteL-suggestionLint: Improving, adding or fixing lint suggestionsLint: Improving, adding or fixing lint suggestions