@@ -1162,7 +1162,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1162
1162
LintId :: of( & booleans:: LOGIC_BUG ) ,
1163
1163
LintId :: of( & booleans:: NONMINIMAL_BOOL ) ,
1164
1164
LintId :: of( & bytecount:: NAIVE_BYTECOUNT ) ,
1165
- LintId :: of( & cognitive_complexity:: COGNITIVE_COMPLEXITY ) ,
1166
1165
LintId :: of( & collapsible_if:: COLLAPSIBLE_IF ) ,
1167
1166
LintId :: of( & comparison_chain:: COMPARISON_CHAIN ) ,
1168
1167
LintId :: of( & copies:: IFS_SAME_COND ) ,
@@ -1503,7 +1502,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1503
1502
LintId :: of( & assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1504
1503
LintId :: of( & attrs:: DEPRECATED_CFG_ATTR ) ,
1505
1504
LintId :: of( & booleans:: NONMINIMAL_BOOL ) ,
1506
- LintId :: of( & cognitive_complexity:: COGNITIVE_COMPLEXITY ) ,
1507
1505
LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
1508
1506
LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1509
1507
LintId :: of( & duration_subsec:: DURATION_SUBSEC ) ,
@@ -1674,6 +1672,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1674
1672
1675
1673
store. register_group ( true , "clippy::nursery" , Some ( "clippy_nursery" ) , vec ! [
1676
1674
LintId :: of( & attrs:: EMPTY_LINE_AFTER_OUTER_ATTR ) ,
1675
+ LintId :: of( & cognitive_complexity:: COGNITIVE_COMPLEXITY ) ,
1677
1676
LintId :: of( & fallible_impl_from:: FALLIBLE_IMPL_FROM ) ,
1678
1677
LintId :: of( & floating_point_arithmetic:: IMPRECISE_FLOPS ) ,
1679
1678
LintId :: of( & floating_point_arithmetic:: SUBOPTIMAL_FLOPS ) ,
0 commit comments