@@ -1115,6 +1115,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1115
1115
LintId :: of( & methods:: FIND_MAP ) ,
1116
1116
LintId :: of( & methods:: INEFFICIENT_TO_STRING ) ,
1117
1117
LintId :: of( & methods:: MAP_FLATTEN ) ,
1118
+ LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1118
1119
LintId :: of( & methods:: OPTION_MAP_UNWRAP_OR ) ,
1119
1120
LintId :: of( & methods:: OPTION_MAP_UNWRAP_OR_ELSE ) ,
1120
1121
LintId :: of( & methods:: RESULT_MAP_UNWRAP_OR_ELSE ) ,
@@ -1276,7 +1277,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1276
1277
LintId :: of( & methods:: ITER_NTH_ZERO ) ,
1277
1278
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
1278
1279
LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1279
- LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1280
1280
LintId :: of( & methods:: OK_EXPECT ) ,
1281
1281
LintId :: of( & methods:: OPTION_AND_THEN_SOME ) ,
1282
1282
LintId :: of( & methods:: OPTION_AS_REF_DEREF ) ,
@@ -1457,7 +1457,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1457
1457
LintId :: of( & methods:: ITER_NTH_ZERO ) ,
1458
1458
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
1459
1459
LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1460
- LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1461
1460
LintId :: of( & methods:: OK_EXPECT ) ,
1462
1461
LintId :: of( & methods:: OPTION_MAP_OR_NONE ) ,
1463
1462
LintId :: of( & methods:: RESULT_MAP_OR_INTO_OPTION ) ,
0 commit comments