@@ -1455,7 +1455,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1455
1455
store. register_group ( true , "clippy::style" , Some ( "clippy_style" ) , vec ! [
1456
1456
LintId :: of( assertions_on_constants:: ASSERTIONS_ON_CONSTANTS ) ,
1457
1457
LintId :: of( assign_ops:: ASSIGN_OP_PATTERN ) ,
1458
- LintId :: of( attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
1459
1458
LintId :: of( blacklisted_name:: BLACKLISTED_NAME ) ,
1460
1459
LintId :: of( blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ) ,
1461
1460
LintId :: of( bool_assert_comparison:: BOOL_ASSERT_COMPARISON ) ,
@@ -1473,9 +1472,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1473
1472
LintId :: of( eq_op:: OP_REF ) ,
1474
1473
LintId :: of( eta_reduction:: REDUNDANT_CLOSURE ) ,
1475
1474
LintId :: of( float_literal:: EXCESSIVE_PRECISION ) ,
1476
- LintId :: of( formatting:: SUSPICIOUS_ASSIGNMENT_FORMATTING ) ,
1477
- LintId :: of( formatting:: SUSPICIOUS_ELSE_FORMATTING ) ,
1478
- LintId :: of( formatting:: SUSPICIOUS_UNARY_OP_FORMATTING ) ,
1479
1475
LintId :: of( from_over_into:: FROM_OVER_INTO ) ,
1480
1476
LintId :: of( from_str_radix_10:: FROM_STR_RADIX_10 ) ,
1481
1477
LintId :: of( functions:: DOUBLE_MUST_USE ) ,
@@ -1488,7 +1484,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1488
1484
LintId :: of( len_zero:: LEN_ZERO ) ,
1489
1485
LintId :: of( literal_representation:: INCONSISTENT_DIGIT_GROUPING ) ,
1490
1486
LintId :: of( literal_representation:: UNUSUAL_BYTE_GROUPINGS ) ,
1491
- LintId :: of( loops:: EMPTY_LOOP ) ,
1492
1487
LintId :: of( loops:: FOR_KV_MAP ) ,
1493
1488
LintId :: of( loops:: NEEDLESS_RANGE_LOOP ) ,
1494
1489
LintId :: of( loops:: SAME_ITEM_PUSH ) ,
@@ -1568,7 +1563,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1568
1563
] ) ;
1569
1564
1570
1565
store. register_group ( true , "clippy::complexity" , Some ( "clippy_complexity" ) , vec ! [
1571
- LintId :: of( assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1572
1566
LintId :: of( attrs:: DEPRECATED_CFG_ATTR ) ,
1573
1567
LintId :: of( booleans:: NONMINIMAL_BOOL ) ,
1574
1568
LintId :: of( casts:: CHAR_LIT_AS_U8 ) ,
@@ -1578,7 +1572,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1578
1572
LintId :: of( double_parens:: DOUBLE_PARENS ) ,
1579
1573
LintId :: of( duration_subsec:: DURATION_SUBSEC ) ,
1580
1574
LintId :: of( eval_order_dependence:: DIVERGING_SUB_EXPRESSION ) ,
1581
- LintId :: of( eval_order_dependence:: EVAL_ORDER_DEPENDENCE ) ,
1582
1575
LintId :: of( explicit_write:: EXPLICIT_WRITE ) ,
1583
1576
LintId :: of( format:: USELESS_FORMAT ) ,
1584
1577
LintId :: of( functions:: TOO_MANY_ARGUMENTS ) ,
@@ -1589,7 +1582,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1589
1582
LintId :: of( lifetimes:: NEEDLESS_LIFETIMES ) ,
1590
1583
LintId :: of( loops:: EXPLICIT_COUNTER_LOOP ) ,
1591
1584
LintId :: of( loops:: MANUAL_FLATTEN ) ,
1592
- LintId :: of( loops:: MUT_RANGE_BOUND ) ,
1593
1585
LintId :: of( loops:: SINGLE_ELEMENT_LOOP ) ,
1594
1586
LintId :: of( loops:: WHILE_LET_LOOP ) ,
1595
1587
LintId :: of( manual_strip:: MANUAL_STRIP ) ,
@@ -1613,7 +1605,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1613
1605
LintId :: of( methods:: OPTION_FILTER_MAP ) ,
1614
1606
LintId :: of( methods:: SEARCH_IS_SOME ) ,
1615
1607
LintId :: of( methods:: SKIP_WHILE_NEXT ) ,
1616
- LintId :: of( methods:: SUSPICIOUS_MAP ) ,
1617
1608
LintId :: of( methods:: UNNECESSARY_FILTER_MAP ) ,
1618
1609
LintId :: of( methods:: USELESS_ASREF ) ,
1619
1610
LintId :: of( misc:: SHORT_CIRCUIT_STATEMENT ) ,
@@ -1682,7 +1673,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1682
1673
LintId :: of( enum_clike:: ENUM_CLIKE_UNPORTABLE_VARIANT ) ,
1683
1674
LintId :: of( eq_op:: EQ_OP ) ,
1684
1675
LintId :: of( erasing_op:: ERASING_OP ) ,
1685
- LintId :: of( float_equality_without_abs:: FLOAT_EQUALITY_WITHOUT_ABS ) ,
1686
1676
LintId :: of( formatting:: POSSIBLE_MISSING_COMMA ) ,
1687
1677
LintId :: of( functions:: NOT_UNSAFE_PTR_ARG_DEREF ) ,
1688
1678
LintId :: of( if_let_mutex:: IF_LET_MUTEX ) ,
@@ -1692,7 +1682,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1692
1682
LintId :: of( inline_fn_without_body:: INLINE_FN_WITHOUT_BODY ) ,
1693
1683
LintId :: of( let_underscore:: LET_UNDERSCORE_LOCK ) ,
1694
1684
LintId :: of( literal_representation:: MISTYPED_LITERAL_SUFFIXES ) ,
1695
- LintId :: of( loops:: FOR_LOOPS_OVER_FALLIBLES ) ,
1696
1685
LintId :: of( loops:: ITER_NEXT_LOOP ) ,
1697
1686
LintId :: of( loops:: NEVER_LOOP ) ,
1698
1687
LintId :: of( loops:: WHILE_IMMUTABLE_CONDITION ) ,
@@ -1707,7 +1696,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1707
1696
LintId :: of( misc:: CMP_NAN ) ,
1708
1697
LintId :: of( misc:: FLOAT_CMP ) ,
1709
1698
LintId :: of( misc:: MODULO_ONE ) ,
1710
- LintId :: of( mut_key:: MUTABLE_KEY_TYPE ) ,
1711
1699
LintId :: of( non_octal_unix_permissions:: NON_OCTAL_UNIX_PERMISSIONS ) ,
1712
1700
LintId :: of( open_options:: NONSENSICAL_OPEN_OPTIONS ) ,
1713
1701
LintId :: of( option_env_unwrap:: OPTION_ENV_UNWRAP ) ,
@@ -1718,8 +1706,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1718
1706
LintId :: of( self_assignment:: SELF_ASSIGNMENT ) ,
1719
1707
LintId :: of( serde_api:: SERDE_API_MISUSE ) ,
1720
1708
LintId :: of( size_of_in_element_count:: SIZE_OF_IN_ELEMENT_COUNT ) ,
1721
- LintId :: of( suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1722
- LintId :: of( suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1723
1709
LintId :: of( swap:: ALMOST_SWAPPED ) ,
1724
1710
LintId :: of( to_string_in_display:: TO_STRING_IN_DISPLAY ) ,
1725
1711
LintId :: of( transmute:: UNSOUND_COLLECTION_TRANSMUTE ) ,
@@ -1760,6 +1746,23 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1760
1746
LintId :: of( vec_init_then_push:: VEC_INIT_THEN_PUSH ) ,
1761
1747
] ) ;
1762
1748
1749
+ store. register_group ( true , "clippy::suspicious" , None , vec ! [
1750
+ LintId :: of( assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1751
+ LintId :: of( attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
1752
+ LintId :: of( eval_order_dependence:: EVAL_ORDER_DEPENDENCE ) ,
1753
+ LintId :: of( float_equality_without_abs:: FLOAT_EQUALITY_WITHOUT_ABS ) ,
1754
+ LintId :: of( formatting:: SUSPICIOUS_ASSIGNMENT_FORMATTING ) ,
1755
+ LintId :: of( formatting:: SUSPICIOUS_ELSE_FORMATTING ) ,
1756
+ LintId :: of( formatting:: SUSPICIOUS_UNARY_OP_FORMATTING ) ,
1757
+ LintId :: of( loops:: EMPTY_LOOP ) ,
1758
+ LintId :: of( loops:: FOR_LOOPS_OVER_FALLIBLES ) ,
1759
+ LintId :: of( loops:: MUT_RANGE_BOUND ) ,
1760
+ LintId :: of( methods:: SUSPICIOUS_MAP ) ,
1761
+ LintId :: of( mut_key:: MUTABLE_KEY_TYPE ) ,
1762
+ LintId :: of( suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1763
+ LintId :: of( suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1764
+ ] ) ;
1765
+
1763
1766
store. register_group ( true , "clippy::cargo" , Some ( "clippy_cargo" ) , vec ! [
1764
1767
LintId :: of( cargo_common_metadata:: CARGO_COMMON_METADATA ) ,
1765
1768
LintId :: of( multiple_crate_versions:: MULTIPLE_CRATE_VERSIONS ) ,
0 commit comments