@@ -1461,7 +1461,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14611461 store. register_group ( true , "clippy::style" , Some ( "clippy_style" ) , vec ! [
14621462 LintId :: of( assertions_on_constants:: ASSERTIONS_ON_CONSTANTS ) ,
14631463 LintId :: of( assign_ops:: ASSIGN_OP_PATTERN ) ,
1464- LintId :: of( attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
14651464 LintId :: of( blacklisted_name:: BLACKLISTED_NAME ) ,
14661465 LintId :: of( blocks_in_if_conditions:: BLOCKS_IN_IF_CONDITIONS ) ,
14671466 LintId :: of( bool_assert_comparison:: BOOL_ASSERT_COMPARISON ) ,
@@ -1479,9 +1478,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14791478 LintId :: of( eq_op:: OP_REF ) ,
14801479 LintId :: of( eta_reduction:: REDUNDANT_CLOSURE ) ,
14811480 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 ) ,
14851481 LintId :: of( from_over_into:: FROM_OVER_INTO ) ,
14861482 LintId :: of( from_str_radix_10:: FROM_STR_RADIX_10 ) ,
14871483 LintId :: of( functions:: DOUBLE_MUST_USE ) ,
@@ -1494,7 +1490,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14941490 LintId :: of( len_zero:: LEN_ZERO ) ,
14951491 LintId :: of( literal_representation:: INCONSISTENT_DIGIT_GROUPING ) ,
14961492 LintId :: of( literal_representation:: UNUSUAL_BYTE_GROUPINGS ) ,
1497- LintId :: of( loops:: EMPTY_LOOP ) ,
14981493 LintId :: of( loops:: FOR_KV_MAP ) ,
14991494 LintId :: of( loops:: NEEDLESS_RANGE_LOOP ) ,
15001495 LintId :: of( loops:: SAME_ITEM_PUSH ) ,
@@ -1574,7 +1569,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15741569 ] ) ;
15751570
15761571 store. register_group ( true , "clippy::complexity" , Some ( "clippy_complexity" ) , vec ! [
1577- LintId :: of( assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
15781572 LintId :: of( attrs:: DEPRECATED_CFG_ATTR ) ,
15791573 LintId :: of( booleans:: NONMINIMAL_BOOL ) ,
15801574 LintId :: of( casts:: CHAR_LIT_AS_U8 ) ,
@@ -1584,7 +1578,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15841578 LintId :: of( double_parens:: DOUBLE_PARENS ) ,
15851579 LintId :: of( duration_subsec:: DURATION_SUBSEC ) ,
15861580 LintId :: of( eval_order_dependence:: DIVERGING_SUB_EXPRESSION ) ,
1587- LintId :: of( eval_order_dependence:: EVAL_ORDER_DEPENDENCE ) ,
15881581 LintId :: of( explicit_write:: EXPLICIT_WRITE ) ,
15891582 LintId :: of( format:: USELESS_FORMAT ) ,
15901583 LintId :: of( functions:: TOO_MANY_ARGUMENTS ) ,
@@ -1595,7 +1588,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15951588 LintId :: of( lifetimes:: NEEDLESS_LIFETIMES ) ,
15961589 LintId :: of( loops:: EXPLICIT_COUNTER_LOOP ) ,
15971590 LintId :: of( loops:: MANUAL_FLATTEN ) ,
1598- LintId :: of( loops:: MUT_RANGE_BOUND ) ,
15991591 LintId :: of( loops:: SINGLE_ELEMENT_LOOP ) ,
16001592 LintId :: of( loops:: WHILE_LET_LOOP ) ,
16011593 LintId :: of( manual_strip:: MANUAL_STRIP ) ,
@@ -1619,7 +1611,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16191611 LintId :: of( methods:: OPTION_FILTER_MAP ) ,
16201612 LintId :: of( methods:: SEARCH_IS_SOME ) ,
16211613 LintId :: of( methods:: SKIP_WHILE_NEXT ) ,
1622- LintId :: of( methods:: SUSPICIOUS_MAP ) ,
16231614 LintId :: of( methods:: UNNECESSARY_FILTER_MAP ) ,
16241615 LintId :: of( methods:: USELESS_ASREF ) ,
16251616 LintId :: of( misc:: SHORT_CIRCUIT_STATEMENT ) ,
@@ -1688,7 +1679,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16881679 LintId :: of( enum_clike:: ENUM_CLIKE_UNPORTABLE_VARIANT ) ,
16891680 LintId :: of( eq_op:: EQ_OP ) ,
16901681 LintId :: of( erasing_op:: ERASING_OP ) ,
1691- LintId :: of( float_equality_without_abs:: FLOAT_EQUALITY_WITHOUT_ABS ) ,
16921682 LintId :: of( formatting:: POSSIBLE_MISSING_COMMA ) ,
16931683 LintId :: of( functions:: NOT_UNSAFE_PTR_ARG_DEREF ) ,
16941684 LintId :: of( if_let_mutex:: IF_LET_MUTEX ) ,
@@ -1698,7 +1688,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16981688 LintId :: of( inline_fn_without_body:: INLINE_FN_WITHOUT_BODY ) ,
16991689 LintId :: of( let_underscore:: LET_UNDERSCORE_LOCK ) ,
17001690 LintId :: of( literal_representation:: MISTYPED_LITERAL_SUFFIXES ) ,
1701- LintId :: of( loops:: FOR_LOOPS_OVER_FALLIBLES ) ,
17021691 LintId :: of( loops:: ITER_NEXT_LOOP ) ,
17031692 LintId :: of( loops:: NEVER_LOOP ) ,
17041693 LintId :: of( loops:: WHILE_IMMUTABLE_CONDITION ) ,
@@ -1713,7 +1702,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17131702 LintId :: of( misc:: CMP_NAN ) ,
17141703 LintId :: of( misc:: FLOAT_CMP ) ,
17151704 LintId :: of( misc:: MODULO_ONE ) ,
1716- LintId :: of( mut_key:: MUTABLE_KEY_TYPE ) ,
17171705 LintId :: of( non_octal_unix_permissions:: NON_OCTAL_UNIX_PERMISSIONS ) ,
17181706 LintId :: of( open_options:: NONSENSICAL_OPEN_OPTIONS ) ,
17191707 LintId :: of( option_env_unwrap:: OPTION_ENV_UNWRAP ) ,
@@ -1724,8 +1712,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17241712 LintId :: of( self_assignment:: SELF_ASSIGNMENT ) ,
17251713 LintId :: of( serde_api:: SERDE_API_MISUSE ) ,
17261714 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 ) ,
17291715 LintId :: of( swap:: ALMOST_SWAPPED ) ,
17301716 LintId :: of( to_string_in_display:: TO_STRING_IN_DISPLAY ) ,
17311717 LintId :: of( transmute:: UNSOUND_COLLECTION_TRANSMUTE ) ,
@@ -1742,6 +1728,23 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17421728 LintId :: of( vec_resize_to_zero:: VEC_RESIZE_TO_ZERO ) ,
17431729 ] ) ;
17441730
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+
17451748 store. register_group ( true , "clippy::perf" , Some ( "clippy_perf" ) , vec ! [
17461749 LintId :: of( entry:: MAP_ENTRY ) ,
17471750 LintId :: of( escape:: BOXED_LOCAL ) ,
0 commit comments