@@ -1402,6 +1402,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1402
1402
LintId :: of( misc_early:: UNSEPARATED_LITERAL_SUFFIX ) ,
1403
1403
LintId :: of( mut_mut:: MUT_MUT ) ,
1404
1404
LintId :: of( needless_bitwise_bool:: NEEDLESS_BITWISE_BOOL ) ,
1405
+ LintId :: of( needless_borrow:: REF_BINDING_TO_REFERENCE ) ,
1405
1406
LintId :: of( needless_continue:: NEEDLESS_CONTINUE ) ,
1406
1407
LintId :: of( needless_for_each:: NEEDLESS_FOR_EACH ) ,
1407
1408
LintId :: of( needless_pass_by_value:: NEEDLESS_PASS_BY_VALUE ) ,
@@ -1645,7 +1646,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1645
1646
LintId :: of( needless_arbitrary_self_type:: NEEDLESS_ARBITRARY_SELF_TYPE ) ,
1646
1647
LintId :: of( needless_bool:: BOOL_COMPARISON ) ,
1647
1648
LintId :: of( needless_bool:: NEEDLESS_BOOL ) ,
1648
- LintId :: of( needless_borrow:: REF_BINDING_TO_REFERENCE ) ,
1649
1649
LintId :: of( needless_borrowed_ref:: NEEDLESS_BORROWED_REFERENCE ) ,
1650
1650
LintId :: of( needless_question_mark:: NEEDLESS_QUESTION_MARK ) ,
1651
1651
LintId :: of( needless_update:: NEEDLESS_UPDATE ) ,
@@ -1829,7 +1829,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1829
1829
LintId :: of( misc_early:: REDUNDANT_PATTERN ) ,
1830
1830
LintId :: of( mut_mutex_lock:: MUT_MUTEX_LOCK ) ,
1831
1831
LintId :: of( mut_reference:: UNNECESSARY_MUT_PASSED ) ,
1832
- LintId :: of( needless_borrow:: REF_BINDING_TO_REFERENCE ) ,
1833
1832
LintId :: of( neg_multiply:: NEG_MULTIPLY ) ,
1834
1833
LintId :: of( new_without_default:: NEW_WITHOUT_DEFAULT ) ,
1835
1834
LintId :: of( non_copy_const:: BORROW_INTERIOR_MUTABLE_CONST ) ,
0 commit comments