@@ -1106,6 +1106,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1106
1106
LintId :: of( & methods:: FILTER_MAP_NEXT ) ,
1107
1107
LintId :: of( & methods:: FIND_MAP ) ,
1108
1108
LintId :: of( & methods:: MAP_FLATTEN ) ,
1109
+ LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1109
1110
LintId :: of( & methods:: OPTION_MAP_UNWRAP_OR ) ,
1110
1111
LintId :: of( & methods:: OPTION_MAP_UNWRAP_OR_ELSE ) ,
1111
1112
LintId :: of( & methods:: RESULT_MAP_UNWRAP_OR_ELSE ) ,
@@ -1267,7 +1268,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1267
1268
LintId :: of( & methods:: ITER_NTH_ZERO ) ,
1268
1269
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
1269
1270
LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1270
- LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1271
1271
LintId :: of( & methods:: OK_EXPECT ) ,
1272
1272
LintId :: of( & methods:: OPTION_AND_THEN_SOME ) ,
1273
1273
LintId :: of( & methods:: OPTION_AS_REF_DEREF ) ,
@@ -1450,7 +1450,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1450
1450
LintId :: of( & methods:: ITER_NTH_ZERO ) ,
1451
1451
LintId :: of( & methods:: ITER_SKIP_NEXT ) ,
1452
1452
LintId :: of( & methods:: MANUAL_SATURATING_ARITHMETIC ) ,
1453
- LintId :: of( & methods:: NEW_RET_NO_SELF ) ,
1454
1453
LintId :: of( & methods:: OK_EXPECT ) ,
1455
1454
LintId :: of( & methods:: OPTION_MAP_OR_NONE ) ,
1456
1455
LintId :: of( & methods:: SHOULD_IMPLEMENT_TRAIT ) ,
0 commit comments