Skip to content

Commit d9081c3

Browse files
committed
Ran cargo dev update_lints again (after updating the lint group)
1 parent 4bf66ac commit d9081c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14971497
LintId::of(&manual_async_fn::MANUAL_ASYNC_FN),
14981498
LintId::of(&manual_non_exhaustive::MANUAL_NON_EXHAUSTIVE),
14991499
LintId::of(&map_clone::MAP_CLONE),
1500-
LintId::of(&map_identity::MAP_IDENTITY),
15011500
LintId::of(&matches::INFALLIBLE_DESTRUCTURING_MATCH),
15021501
LintId::of(&matches::MATCH_OVERLAPPING_ARM),
15031502
LintId::of(&matches::MATCH_REF_PATS),
@@ -1579,6 +1578,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15791578
LintId::of(&loops::EXPLICIT_COUNTER_LOOP),
15801579
LintId::of(&loops::MUT_RANGE_BOUND),
15811580
LintId::of(&loops::WHILE_LET_LOOP),
1581+
LintId::of(&map_identity::MAP_IDENTITY),
15821582
LintId::of(&map_unit_fn::OPTION_MAP_UNIT_FN),
15831583
LintId::of(&map_unit_fn::RESULT_MAP_UNIT_FN),
15841584
LintId::of(&matches::MATCH_AS_REF),

src/lintlist/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
11461146
},
11471147
Lint {
11481148
name: "map_identity",
1149-
group: "style",
1149+
group: "complexity",
11501150
desc: "using iterator.map(|x| x)",
11511151
deprecation: None,
11521152
module: "map_identity",

0 commit comments

Comments
 (0)