@@ -622,6 +622,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
622
622
& len_zero:: LEN_WITHOUT_IS_EMPTY ,
623
623
& len_zero:: LEN_ZERO ,
624
624
& let_if_seq:: USELESS_LET_IF_SEQ ,
625
+ & let_underscore:: LET_UNDERSCORE_DROP ,
625
626
& let_underscore:: LET_UNDERSCORE_LOCK ,
626
627
& let_underscore:: LET_UNDERSCORE_MUST_USE ,
627
628
& lifetimes:: EXTRA_UNUSED_LIFETIMES ,
@@ -832,6 +833,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
832
833
& stable_sort_primitive:: STABLE_SORT_PRIMITIVE ,
833
834
& strings:: STRING_ADD ,
834
835
& strings:: STRING_ADD_ASSIGN ,
836
+ & strings:: STRING_FROM_UTF8_AS_BYTES ,
835
837
& strings:: STRING_LIT_AS_BYTES ,
836
838
& suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ,
837
839
& suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ,
@@ -1239,6 +1241,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1239
1241
LintId :: of( & infinite_iter:: MAYBE_INFINITE_ITER ) ,
1240
1242
LintId :: of( & items_after_statements:: ITEMS_AFTER_STATEMENTS ) ,
1241
1243
LintId :: of( & large_stack_arrays:: LARGE_STACK_ARRAYS ) ,
1244
+ LintId :: of( & let_underscore:: LET_UNDERSCORE_DROP ) ,
1242
1245
LintId :: of( & literal_representation:: LARGE_DIGIT_GROUPS ) ,
1243
1246
LintId :: of( & literal_representation:: UNREADABLE_LITERAL ) ,
1244
1247
LintId :: of( & loops:: EXPLICIT_INTO_ITER_LOOP ) ,
@@ -1527,6 +1530,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1527
1530
LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
1528
1531
LintId :: of( & slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ) ,
1529
1532
LintId :: of( & stable_sort_primitive:: STABLE_SORT_PRIMITIVE ) ,
1533
+ LintId :: of( & strings:: STRING_FROM_UTF8_AS_BYTES ) ,
1530
1534
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1531
1535
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
1532
1536
LintId :: of( & swap:: ALMOST_SWAPPED ) ,
@@ -1752,6 +1756,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1752
1756
LintId :: of( & reference:: DEREF_ADDROF ) ,
1753
1757
LintId :: of( & reference:: REF_IN_DEREF ) ,
1754
1758
LintId :: of( & repeat_once:: REPEAT_ONCE ) ,
1759
+ LintId :: of( & strings:: STRING_FROM_UTF8_AS_BYTES ) ,
1755
1760
LintId :: of( & swap:: MANUAL_SWAP ) ,
1756
1761
LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
1757
1762
LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
0 commit comments