@@ -1722,6 +1722,23 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1722
1722
LintId :: of( vec_resize_to_zero:: VEC_RESIZE_TO_ZERO ) ,
1723
1723
] ) ;
1724
1724
1725
+ store. register_group ( true , "clippy::suspicious" , None , vec ! [
1726
+ LintId :: of( assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1727
+ LintId :: of( attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
1728
+ LintId :: of( eval_order_dependence:: EVAL_ORDER_DEPENDENCE ) ,
1729
+ LintId :: of( float_equality_without_abs:: FLOAT_EQUALITY_WITHOUT_ABS ) ,
1730
+ LintId :: of( formatting:: SUSPICIOUS_ASSIGNMENT_FORMATTING ) ,
1731
+ LintId :: of( formatting:: SUSPICIOUS_ELSE_FORMATTING ) ,
1732
+ LintId :: of( formatting:: SUSPICIOUS_UNARY_OP_FORMATTING ) ,
1733
+ LintId :: of( loops:: EMPTY_LOOP ) ,
1734
+ LintId :: of( loops:: FOR_LOOPS_OVER_FALLIBLES ) ,
1735
+ LintId :: of( loops:: MUT_RANGE_BOUND ) ,
1736
+ LintId :: of( methods:: SUSPICIOUS_MAP ) ,
1737
+ LintId :: of( mut_key:: MUTABLE_KEY_TYPE ) ,
1738
+ LintId :: of( suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1739
+ LintId :: of( suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1740
+ ] ) ;
1741
+
1725
1742
store. register_group ( true , "clippy::perf" , Some ( "clippy_perf" ) , vec ! [
1726
1743
LintId :: of( entry:: MAP_ENTRY ) ,
1727
1744
LintId :: of( escape:: BOXED_LOCAL ) ,
@@ -1746,23 +1763,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1746
1763
LintId :: of( vec_init_then_push:: VEC_INIT_THEN_PUSH ) ,
1747
1764
] ) ;
1748
1765
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
-
1766
1766
store. register_group ( true , "clippy::cargo" , Some ( "clippy_cargo" ) , vec ! [
1767
1767
LintId :: of( cargo_common_metadata:: CARGO_COMMON_METADATA ) ,
1768
1768
LintId :: of( multiple_crate_versions:: MULTIPLE_CRATE_VERSIONS ) ,
0 commit comments