@@ -1174,7 +1174,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1174
1174
LintId :: of( & booleans:: LOGIC_BUG ) ,
1175
1175
LintId :: of( & booleans:: NONMINIMAL_BOOL ) ,
1176
1176
LintId :: of( & bytecount:: NAIVE_BYTECOUNT ) ,
1177
- LintId :: of( & cognitive_complexity:: COGNITIVE_COMPLEXITY ) ,
1178
1177
LintId :: of( & collapsible_if:: COLLAPSIBLE_IF ) ,
1179
1178
LintId :: of( & comparison_chain:: COMPARISON_CHAIN ) ,
1180
1179
LintId :: of( & copies:: IFS_SAME_COND ) ,
@@ -1509,7 +1508,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1509
1508
LintId :: of( & assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1510
1509
LintId :: of( & attrs:: DEPRECATED_CFG_ATTR ) ,
1511
1510
LintId :: of( & booleans:: NONMINIMAL_BOOL ) ,
1512
- LintId :: of( & cognitive_complexity:: COGNITIVE_COMPLEXITY ) ,
1513
1511
LintId :: of( & double_comparison:: DOUBLE_COMPARISONS ) ,
1514
1512
LintId :: of( & double_parens:: DOUBLE_PARENS ) ,
1515
1513
LintId :: of( & duration_subsec:: DURATION_SUBSEC ) ,
@@ -1678,6 +1676,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1678
1676
1679
1677
store. register_group ( true , "clippy::nursery" , Some ( "clippy_nursery" ) , vec ! [
1680
1678
LintId :: of( & attrs:: EMPTY_LINE_AFTER_OUTER_ATTR ) ,
1679
+ LintId :: of( & cognitive_complexity:: COGNITIVE_COMPLEXITY ) ,
1681
1680
LintId :: of( & fallible_impl_from:: FALLIBLE_IMPL_FROM ) ,
1682
1681
LintId :: of( & floating_point_arithmetic:: IMPRECISE_FLOPS ) ,
1683
1682
LintId :: of( & floating_point_arithmetic:: SUBOPTIMAL_FLOPS ) ,
0 commit comments