@@ -1268,6 +1268,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1268
1268
LintId :: of( & bit_mask:: VERBOSE_BIT_MASK ) ,
1269
1269
LintId :: of( & checked_conversions:: CHECKED_CONVERSIONS ) ,
1270
1270
LintId :: of( & copies:: SAME_FUNCTIONS_IN_IF_CONDITION ) ,
1271
+ LintId :: of( & copies:: SHARED_CODE_IN_IF_BLOCKS ) ,
1271
1272
LintId :: of( & copy_iterator:: COPY_ITERATOR ) ,
1272
1273
LintId :: of( & default :: DEFAULT_TRAIT_ACCESS ) ,
1273
1274
LintId :: of( & dereference:: EXPLICIT_DEREF_METHODS ) ,
@@ -1382,7 +1383,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1382
1383
LintId :: of( & comparison_chain:: COMPARISON_CHAIN ) ,
1383
1384
LintId :: of( & copies:: IFS_SAME_COND ) ,
1384
1385
LintId :: of( & copies:: IF_SAME_THEN_ELSE ) ,
1385
- LintId :: of( & copies:: SHARED_CODE_IN_IF_BLOCKS ) ,
1386
1386
LintId :: of( & default :: FIELD_REASSIGN_WITH_DEFAULT ) ,
1387
1387
LintId :: of( & derive:: DERIVE_HASH_XOR_EQ ) ,
1388
1388
LintId :: of( & derive:: DERIVE_ORD_XOR_PARTIAL_ORD ) ,
@@ -1753,7 +1753,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1753
1753
LintId :: of( & assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1754
1754
LintId :: of( & attrs:: DEPRECATED_CFG_ATTR ) ,
1755
1755
LintId :: of( & booleans:: NONMINIMAL_BOOL ) ,
1756
- LintId :: of( & copies:: SHARED_CODE_IN_IF_BLOCKS ) ,
1757
1756
LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
1758
1757
LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1759
1758
LintId :: of( & duration_subsec:: DURATION_SUBSEC ) ,
0 commit comments