Give lint groups have a lower default default priority #13565
Labels
A-lints-table
Area: [lints] table
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
Currently, giving a level to a lint group (like
pedantic
in clippy) will override a level given to a specific lint if it's higher than the lint alphabetically. For example,pedantic = "deny"
will overrideptr_as_ptr = "allow"
but notoption_option = "allow"
.Proposed Solution
Give the lint groups a default priority of
-1
.Notes
No response
The text was updated successfully, but these errors were encountered: