Skip to content

Commit 40d7af5

Browse files
committed
Update lints
1 parent 8211b59 commit 40d7af5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12411241
LintId::of(&infinite_iter::MAYBE_INFINITE_ITER),
12421242
LintId::of(&items_after_statements::ITEMS_AFTER_STATEMENTS),
12431243
LintId::of(&large_stack_arrays::LARGE_STACK_ARRAYS),
1244+
LintId::of(&let_underscore::LET_UNDERSCORE_DROP),
12441245
LintId::of(&literal_representation::LARGE_DIGIT_GROUPS),
12451246
LintId::of(&literal_representation::UNREADABLE_LITERAL),
12461247
LintId::of(&loops::EXPLICIT_INTO_ITER_LOOP),
@@ -1384,7 +1385,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13841385
LintId::of(&len_zero::COMPARISON_TO_EMPTY),
13851386
LintId::of(&len_zero::LEN_WITHOUT_IS_EMPTY),
13861387
LintId::of(&len_zero::LEN_ZERO),
1387-
LintId::of(&let_underscore::LET_UNDERSCORE_DROP),
13881388
LintId::of(&let_underscore::LET_UNDERSCORE_LOCK),
13891389
LintId::of(&lifetimes::EXTRA_UNUSED_LIFETIMES),
13901390
LintId::of(&lifetimes::NEEDLESS_LIFETIMES),
@@ -1811,7 +1811,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
18111811
LintId::of(&infinite_iter::INFINITE_ITER),
18121812
LintId::of(&inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY),
18131813
LintId::of(&inline_fn_without_body::INLINE_FN_WITHOUT_BODY),
1814-
LintId::of(&let_underscore::LET_UNDERSCORE_DROP),
18151814
LintId::of(&let_underscore::LET_UNDERSCORE_LOCK),
18161815
LintId::of(&literal_representation::MISTYPED_LITERAL_SUFFIXES),
18171816
LintId::of(&loops::FOR_LOOPS_OVER_FALLIBLES),

src/lintlist/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ vec![
11191119
},
11201120
Lint {
11211121
name: "let_underscore_drop",
1122-
group: "correctness",
1122+
group: "pedantic",
11231123
desc: "non-binding let on a type that implements `Drop`",
11241124
deprecation: None,
11251125
module: "let_underscore",

0 commit comments

Comments
 (0)