@@ -1461,7 +1461,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1461
1461
store. register_group ( true , "clippy::style" , Some ( "clippy_style" ) , vec ! [
1462
1462
LintId :: of( assertions_on_constants:: ASSERTIONS_ON_CONSTANTS ) ,
1463
1463
LintId :: of( assign_ops:: ASSIGN_OP_PATTERN ) ,
1464
- LintId :: of( attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
1465
1464
LintId :: of( blacklisted_name:: BLACKLISTED_NAME ) ,
1466
1465
LintId :: of( blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ) ,
1467
1466
LintId :: of( bool_assert_comparison:: BOOL_ASSERT_COMPARISON ) ,
@@ -1479,9 +1478,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1479
1478
LintId :: of( eq_op:: OP_REF ) ,
1480
1479
LintId :: of( eta_reduction:: REDUNDANT_CLOSURE ) ,
1481
1480
LintId :: of( float_literal:: EXCESSIVE_PRECISION ) ,
1482
- LintId :: of( formatting:: SUSPICIOUS_ASSIGNMENT_FORMATTING ) ,
1483
- LintId :: of( formatting:: SUSPICIOUS_ELSE_FORMATTING ) ,
1484
- LintId :: of( formatting:: SUSPICIOUS_UNARY_OP_FORMATTING ) ,
1485
1481
LintId :: of( from_over_into:: FROM_OVER_INTO ) ,
1486
1482
LintId :: of( from_str_radix_10:: FROM_STR_RADIX_10 ) ,
1487
1483
LintId :: of( functions:: DOUBLE_MUST_USE ) ,
@@ -1494,7 +1490,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1494
1490
LintId :: of( len_zero:: LEN_ZERO ) ,
1495
1491
LintId :: of( literal_representation:: INCONSISTENT_DIGIT_GROUPING ) ,
1496
1492
LintId :: of( literal_representation:: UNUSUAL_BYTE_GROUPINGS ) ,
1497
- LintId :: of( loops:: EMPTY_LOOP ) ,
1498
1493
LintId :: of( loops:: FOR_KV_MAP ) ,
1499
1494
LintId :: of( loops:: NEEDLESS_RANGE_LOOP ) ,
1500
1495
LintId :: of( loops:: SAME_ITEM_PUSH ) ,
@@ -1574,7 +1569,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1574
1569
] ) ;
1575
1570
1576
1571
store. register_group ( true , "clippy::complexity" , Some ( "clippy_complexity" ) , vec ! [
1577
- LintId :: of( assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1578
1572
LintId :: of( attrs:: DEPRECATED_CFG_ATTR ) ,
1579
1573
LintId :: of( booleans:: NONMINIMAL_BOOL ) ,
1580
1574
LintId :: of( casts:: CHAR_LIT_AS_U8 ) ,
@@ -1584,7 +1578,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1584
1578
LintId :: of( double_parens:: DOUBLE_PARENS ) ,
1585
1579
LintId :: of( duration_subsec:: DURATION_SUBSEC ) ,
1586
1580
LintId :: of( eval_order_dependence:: DIVERGING_SUB_EXPRESSION ) ,
1587
- LintId :: of( eval_order_dependence:: EVAL_ORDER_DEPENDENCE ) ,
1588
1581
LintId :: of( explicit_write:: EXPLICIT_WRITE ) ,
1589
1582
LintId :: of( format:: USELESS_FORMAT ) ,
1590
1583
LintId :: of( functions:: TOO_MANY_ARGUMENTS ) ,
@@ -1595,7 +1588,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1595
1588
LintId :: of( lifetimes:: NEEDLESS_LIFETIMES ) ,
1596
1589
LintId :: of( loops:: EXPLICIT_COUNTER_LOOP ) ,
1597
1590
LintId :: of( loops:: MANUAL_FLATTEN ) ,
1598
- LintId :: of( loops:: MUT_RANGE_BOUND ) ,
1599
1591
LintId :: of( loops:: SINGLE_ELEMENT_LOOP ) ,
1600
1592
LintId :: of( loops:: WHILE_LET_LOOP ) ,
1601
1593
LintId :: of( manual_strip:: MANUAL_STRIP ) ,
@@ -1619,7 +1611,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1619
1611
LintId :: of( methods:: OPTION_FILTER_MAP ) ,
1620
1612
LintId :: of( methods:: SEARCH_IS_SOME ) ,
1621
1613
LintId :: of( methods:: SKIP_WHILE_NEXT ) ,
1622
- LintId :: of( methods:: SUSPICIOUS_MAP ) ,
1623
1614
LintId :: of( methods:: UNNECESSARY_FILTER_MAP ) ,
1624
1615
LintId :: of( methods:: USELESS_ASREF ) ,
1625
1616
LintId :: of( misc:: SHORT_CIRCUIT_STATEMENT ) ,
@@ -1688,7 +1679,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1688
1679
LintId :: of( enum_clike:: ENUM_CLIKE_UNPORTABLE_VARIANT ) ,
1689
1680
LintId :: of( eq_op:: EQ_OP ) ,
1690
1681
LintId :: of( erasing_op:: ERASING_OP ) ,
1691
- LintId :: of( float_equality_without_abs:: FLOAT_EQUALITY_WITHOUT_ABS ) ,
1692
1682
LintId :: of( formatting:: POSSIBLE_MISSING_COMMA ) ,
1693
1683
LintId :: of( functions:: NOT_UNSAFE_PTR_ARG_DEREF ) ,
1694
1684
LintId :: of( if_let_mutex:: IF_LET_MUTEX ) ,
@@ -1698,7 +1688,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1698
1688
LintId :: of( inline_fn_without_body:: INLINE_FN_WITHOUT_BODY ) ,
1699
1689
LintId :: of( let_underscore:: LET_UNDERSCORE_LOCK ) ,
1700
1690
LintId :: of( literal_representation:: MISTYPED_LITERAL_SUFFIXES ) ,
1701
- LintId :: of( loops:: FOR_LOOPS_OVER_FALLIBLES ) ,
1702
1691
LintId :: of( loops:: ITER_NEXT_LOOP ) ,
1703
1692
LintId :: of( loops:: NEVER_LOOP ) ,
1704
1693
LintId :: of( loops:: WHILE_IMMUTABLE_CONDITION ) ,
@@ -1713,7 +1702,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1713
1702
LintId :: of( misc:: CMP_NAN ) ,
1714
1703
LintId :: of( misc:: FLOAT_CMP ) ,
1715
1704
LintId :: of( misc:: MODULO_ONE ) ,
1716
- LintId :: of( mut_key:: MUTABLE_KEY_TYPE ) ,
1717
1705
LintId :: of( non_octal_unix_permissions:: NON_OCTAL_UNIX_PERMISSIONS ) ,
1718
1706
LintId :: of( open_options:: NONSENSICAL_OPEN_OPTIONS ) ,
1719
1707
LintId :: of( option_env_unwrap:: OPTION_ENV_UNWRAP ) ,
@@ -1724,8 +1712,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1724
1712
LintId :: of( self_assignment:: SELF_ASSIGNMENT ) ,
1725
1713
LintId :: of( serde_api:: SERDE_API_MISUSE ) ,
1726
1714
LintId :: of( size_of_in_element_count:: SIZE_OF_IN_ELEMENT_COUNT ) ,
1727
- LintId :: of( suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1728
- LintId :: of( suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1729
1715
LintId :: of( swap:: ALMOST_SWAPPED ) ,
1730
1716
LintId :: of( to_string_in_display:: TO_STRING_IN_DISPLAY ) ,
1731
1717
LintId :: of( transmute:: UNSOUND_COLLECTION_TRANSMUTE ) ,
@@ -1742,6 +1728,23 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1742
1728
LintId :: of( vec_resize_to_zero:: VEC_RESIZE_TO_ZERO ) ,
1743
1729
] ) ;
1744
1730
1731
+ store. register_group ( true , "clippy::suspicious" , None , vec ! [
1732
+ LintId :: of( assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1733
+ LintId :: of( attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
1734
+ LintId :: of( eval_order_dependence:: EVAL_ORDER_DEPENDENCE ) ,
1735
+ LintId :: of( float_equality_without_abs:: FLOAT_EQUALITY_WITHOUT_ABS ) ,
1736
+ LintId :: of( formatting:: SUSPICIOUS_ASSIGNMENT_FORMATTING ) ,
1737
+ LintId :: of( formatting:: SUSPICIOUS_ELSE_FORMATTING ) ,
1738
+ LintId :: of( formatting:: SUSPICIOUS_UNARY_OP_FORMATTING ) ,
1739
+ LintId :: of( loops:: EMPTY_LOOP ) ,
1740
+ LintId :: of( loops:: FOR_LOOPS_OVER_FALLIBLES ) ,
1741
+ LintId :: of( loops:: MUT_RANGE_BOUND ) ,
1742
+ LintId :: of( methods:: SUSPICIOUS_MAP ) ,
1743
+ LintId :: of( mut_key:: MUTABLE_KEY_TYPE ) ,
1744
+ LintId :: of( suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1745
+ LintId :: of( suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1746
+ ] ) ;
1747
+
1745
1748
store. register_group ( true , "clippy::perf" , Some ( "clippy_perf" ) , vec ! [
1746
1749
LintId :: of( entry:: MAP_ENTRY ) ,
1747
1750
LintId :: of( escape:: BOXED_LOCAL ) ,
0 commit comments