Skip to content

Commit ce06ba3

Browse files
committed
Run update_lints
1 parent aab64a2 commit ce06ba3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
545545
&get_last_with_len::GET_LAST_WITH_LEN,
546546
&identity_conversion::IDENTITY_CONVERSION,
547547
&identity_op::IDENTITY_OP,
548+
&if_let_some_result::IF_LET_SOME_RESULT,
548549
&if_not_else::IF_NOT_ELSE,
549550
&implicit_return::IMPLICIT_RETURN,
550551
&indexing_slicing::INDEXING_SLICING,
@@ -703,7 +704,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
703704
&non_expressive_names::JUST_UNDERSCORES_AND_DIGITS,
704705
&non_expressive_names::MANY_SINGLE_CHAR_NAMES,
705706
&non_expressive_names::SIMILAR_NAMES,
706-
&if_let_some_result::IF_LET_SOME_RESULT,
707707
&open_options::NONSENSICAL_OPEN_OPTIONS,
708708
&overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL,
709709
&panic_unimplemented::PANIC,
@@ -1153,6 +1153,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
11531153
LintId::of(&get_last_with_len::GET_LAST_WITH_LEN),
11541154
LintId::of(&identity_conversion::IDENTITY_CONVERSION),
11551155
LintId::of(&identity_op::IDENTITY_OP),
1156+
LintId::of(&if_let_some_result::IF_LET_SOME_RESULT),
11561157
LintId::of(&indexing_slicing::OUT_OF_BOUNDS_INDEXING),
11571158
LintId::of(&infallible_destructuring_match::INFALLIBLE_DESTRUCTURING_MATCH),
11581159
LintId::of(&infinite_iter::INFINITE_ITER),
@@ -1265,7 +1266,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12651266
LintId::of(&non_copy_const::DECLARE_INTERIOR_MUTABLE_CONST),
12661267
LintId::of(&non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
12671268
LintId::of(&non_expressive_names::MANY_SINGLE_CHAR_NAMES),
1268-
LintId::of(&if_let_some_result::IF_LET_SOME_RESULT),
12691269
LintId::of(&open_options::NONSENSICAL_OPEN_OPTIONS),
12701270
LintId::of(&overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
12711271
LintId::of(&panic_unimplemented::PANIC_PARAMS),
@@ -1367,6 +1367,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13671367
LintId::of(&formatting::SUSPICIOUS_UNARY_OP_FORMATTING),
13681368
LintId::of(&functions::DOUBLE_MUST_USE),
13691369
LintId::of(&functions::MUST_USE_UNIT),
1370+
LintId::of(&if_let_some_result::IF_LET_SOME_RESULT),
13701371
LintId::of(&infallible_destructuring_match::INFALLIBLE_DESTRUCTURING_MATCH),
13711372
LintId::of(&inherent_to_string::INHERENT_TO_STRING),
13721373
LintId::of(&len_zero::LEN_WITHOUT_IS_EMPTY),
@@ -1413,7 +1414,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14131414
LintId::of(&new_without_default::NEW_WITHOUT_DEFAULT),
14141415
LintId::of(&non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
14151416
LintId::of(&non_expressive_names::MANY_SINGLE_CHAR_NAMES),
1416-
LintId::of(&if_let_some_result::IF_LET_SOME_RESULT),
14171417
LintId::of(&panic_unimplemented::PANIC_PARAMS),
14181418
LintId::of(&ptr::CMP_NULL),
14191419
LintId::of(&ptr::PTR_ARG),

0 commit comments

Comments
 (0)