@@ -546,6 +546,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
546
546
& get_last_with_len:: GET_LAST_WITH_LEN ,
547
547
& identity_conversion:: IDENTITY_CONVERSION ,
548
548
& identity_op:: IDENTITY_OP ,
549
+ & if_let_some_result:: IF_LET_SOME_RESULT ,
549
550
& if_not_else:: IF_NOT_ELSE ,
550
551
& implicit_return:: IMPLICIT_RETURN ,
551
552
& indexing_slicing:: INDEXING_SLICING ,
@@ -703,7 +704,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
703
704
& non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ,
704
705
& non_expressive_names:: MANY_SINGLE_CHAR_NAMES ,
705
706
& non_expressive_names:: SIMILAR_NAMES ,
706
- & if_let_some_result:: IF_LET_SOME_RESULT ,
707
707
& open_options:: NONSENSICAL_OPEN_OPTIONS ,
708
708
& overflow_check_conditional:: OVERFLOW_CHECK_CONDITIONAL ,
709
709
& panic_unimplemented:: PANIC ,
@@ -1150,6 +1150,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1150
1150
LintId :: of( & get_last_with_len:: GET_LAST_WITH_LEN ) ,
1151
1151
LintId :: of( & identity_conversion:: IDENTITY_CONVERSION ) ,
1152
1152
LintId :: of( & identity_op:: IDENTITY_OP ) ,
1153
+ LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
1153
1154
LintId :: of( & indexing_slicing:: OUT_OF_BOUNDS_INDEXING ) ,
1154
1155
LintId :: of( & infallible_destructuring_match:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
1155
1156
LintId :: of( & infinite_iter:: INFINITE_ITER ) ,
@@ -1262,7 +1263,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1262
1263
LintId :: of( & non_copy_const:: DECLARE_INTERIOR_MUTABLE_CONST ) ,
1263
1264
LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
1264
1265
LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1265
- LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
1266
1266
LintId :: of( & open_options:: NONSENSICAL_OPEN_OPTIONS ) ,
1267
1267
LintId :: of( & overflow_check_conditional:: OVERFLOW_CHECK_CONDITIONAL ) ,
1268
1268
LintId :: of( & panic_unimplemented:: PANIC_PARAMS ) ,
@@ -1365,6 +1365,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1365
1365
LintId :: of( & formatting:: SUSPICIOUS_UNARY_OP_FORMATTING ) ,
1366
1366
LintId :: of( & functions:: DOUBLE_MUST_USE ) ,
1367
1367
LintId :: of( & functions:: MUST_USE_UNIT ) ,
1368
+ LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
1368
1369
LintId :: of( & infallible_destructuring_match:: INFALLIBLE_DESTRUCTURING_MATCH ) ,
1369
1370
LintId :: of( & inherent_to_string:: INHERENT_TO_STRING ) ,
1370
1371
LintId :: of( & len_zero:: LEN_WITHOUT_IS_EMPTY ) ,
@@ -1411,7 +1412,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1411
1412
LintId :: of( & new_without_default:: NEW_WITHOUT_DEFAULT ) ,
1412
1413
LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
1413
1414
LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1414
- LintId :: of( & if_let_some_result:: IF_LET_SOME_RESULT ) ,
1415
1415
LintId :: of( & panic_unimplemented:: PANIC_PARAMS ) ,
1416
1416
LintId :: of( & ptr:: CMP_NULL ) ,
1417
1417
LintId :: of( & ptr:: PTR_ARG ) ,
0 commit comments