@@ -672,7 +672,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
672
672
& methods:: OK_EXPECT ,
673
673
& methods:: OPTION_AS_REF_DEREF ,
674
674
& methods:: OPTION_MAP_OR_NONE ,
675
- & methods:: UNNECESSARY_LAZY_EVALUATION ,
676
675
& methods:: OR_FUN_CALL ,
677
676
& methods:: RESULT_MAP_OR_INTO_OPTION ,
678
677
& methods:: SEARCH_IS_SOME ,
@@ -686,6 +685,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
686
685
& methods:: UNINIT_ASSUMED_INIT ,
687
686
& methods:: UNNECESSARY_FILTER_MAP ,
688
687
& methods:: UNNECESSARY_FOLD ,
688
+ & methods:: UNNECESSARY_LAZY_EVALUATION ,
689
689
& methods:: UNWRAP_USED ,
690
690
& methods:: USELESS_ASREF ,
691
691
& methods:: WRONG_PUB_SELF_CONVENTION ,
@@ -1542,6 +1542,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1542
1542
LintId :: of( & methods:: SINGLE_CHAR_PUSH_STR ) ,
1543
1543
LintId :: of( & methods:: STRING_EXTEND_CHARS ) ,
1544
1544
LintId :: of( & methods:: UNNECESSARY_FOLD ) ,
1545
+ LintId :: of( & methods:: UNNECESSARY_LAZY_EVALUATION ) ,
1545
1546
LintId :: of( & methods:: WRONG_SELF_CONVENTION ) ,
1546
1547
LintId :: of( & misc:: TOPLEVEL_REF_ARG ) ,
1547
1548
LintId :: of( & misc:: ZERO_PTR ) ,
@@ -1612,7 +1613,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1612
1613
LintId :: of( & methods:: FILTER_NEXT ) ,
1613
1614
LintId :: of( & methods:: FLAT_MAP_IDENTITY ) ,
1614
1615
LintId :: of( & methods:: OPTION_AS_REF_DEREF ) ,
1615
- LintId :: of( & methods:: UNNECESSARY_LAZY_EVALUATION ) ,
1616
1616
LintId :: of( & methods:: SEARCH_IS_SOME ) ,
1617
1617
LintId :: of( & methods:: SKIP_WHILE_NEXT ) ,
1618
1618
LintId :: of( & methods:: SUSPICIOUS_MAP ) ,
0 commit comments