Consider more fine grained grouping for built-in lints #45615
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Copying the comment from #45424 (comment):
I've also audited the remaining ungrouped lints.
In principle new lint groups can be created for them, but it looks like fine-grained lint grouping didn't find its use even in clippy, so I didn't do anything.
Unused++.
These can also be quite reasonably added into the
unused
group, but less obviously than those I added into it in this PR.Bad style++.
Probably can be added into the
bad_style
group, but it currently consists only of casing-related lints.Future compatibility++.
Errors that are reported as lints for some reasons unknown to me.
See the question in #45424 (comment) as well.
Restrictions.
Something generally reasonable that can be prohibited if necessary.
Pedantic.
Something not bad enough to always report/fix.
Obvious mistakes.
Prevent foot shooting, some can become hard errors in principle.
General purpose lints.
The text was updated successfully, but these errors were encountered: