Move clippy lints which aren't apart of the style category (#36579)
Move lints which aren't apart of the style category. Motivation: They might get accidentally get reverted when we turn the style category on again and remove the manual lint enforcements. Release Notes: - N/A
This commit is contained in:
parent
7bdc99abc1
commit
f80a0ba056
1 changed files with 3 additions and 2 deletions
|
@ -806,6 +806,9 @@ todo = "deny"
|
|||
# warning on this rule produces a lot of noise.
|
||||
single_range_in_vec_init = "allow"
|
||||
|
||||
redundant_clone = "warn"
|
||||
declare_interior_mutable_const = "deny"
|
||||
|
||||
# These are all of the rules that currently have violations in the Zed
|
||||
# codebase.
|
||||
#
|
||||
|
@ -840,12 +843,10 @@ match_like_matches_macro = "warn"
|
|||
module_inception = { level = "deny" }
|
||||
question_mark = { level = "deny" }
|
||||
single_match = "warn"
|
||||
redundant_clone = "warn"
|
||||
redundant_closure = { level = "deny" }
|
||||
redundant_static_lifetimes = { level = "warn" }
|
||||
redundant_pattern_matching = "warn"
|
||||
redundant_field_names = "warn"
|
||||
declare_interior_mutable_const = { level = "deny" }
|
||||
collapsible_if = { level = "warn"}
|
||||
collapsible_else_if = { level = "warn" }
|
||||
needless_borrow = { level = "warn"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue