Skip to content

Commit 10442f6

Browse files
committed
clippy::redundant_locals is not a correctness lint
Even its documentation says so. According to the documentation, it might either be a "suspicious" or a "perf" lint.
1 parent ff4a26d commit 10442f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/redundant_locals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ declare_clippy_lint! {
4141
/// ```
4242
#[clippy::version = "1.73.0"]
4343
pub REDUNDANT_LOCALS,
44-
correctness,
44+
perf,
4545
"redundant redefinition of a local binding"
4646
}
4747
declare_lint_pass!(RedundantLocals => [REDUNDANT_LOCALS]);

0 commit comments

Comments
 (0)