@@ -210,6 +210,7 @@ pub mod functions;
210210pub mod get_last_with_len;
211211pub mod identity_conversion;
212212pub mod identity_op;
213+ pub mod if_let_some_result;
213214pub mod if_not_else;
214215pub mod implicit_return;
215216pub mod indexing_slicing;
@@ -263,7 +264,6 @@ pub mod new_without_default;
263264pub mod no_effect;
264265pub mod non_copy_const;
265266pub mod non_expressive_names;
266- pub mod ok_if_let;
267267pub mod open_options;
268268pub mod overflow_check_conditional;
269269pub mod panic_unimplemented;
@@ -703,7 +703,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
703703 & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ,
704704 & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ,
705705 & non_expressive_names:: SIMILAR_NAMES ,
706- & ok_if_let :: IF_LET_SOME_RESULT ,
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 ,
@@ -904,7 +904,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
904904 store. register_late_pass ( || box eval_order_dependence:: EvalOrderDependence ) ;
905905 store. register_late_pass ( || box missing_doc:: MissingDoc :: new ( ) ) ;
906906 store. register_late_pass ( || box missing_inline:: MissingInline ) ;
907- store. register_late_pass ( || box ok_if_let :: OkIfLet ) ;
907+ store. register_late_pass ( || box if_let_some_result :: OkIfLet ) ;
908908 store. register_late_pass ( || box redundant_pattern_matching:: RedundantPatternMatching ) ;
909909 store. register_late_pass ( || box partialeq_ne_impl:: PartialEqNeImpl ) ;
910910 store. register_late_pass ( || box unused_io_amount:: UnusedIoAmount ) ;
@@ -1265,7 +1265,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
12651265 LintId :: of( & non_copy_const:: DECLARE_INTERIOR_MUTABLE_CONST ) ,
12661266 LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
12671267 LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1268- LintId :: of( & ok_if_let :: IF_LET_SOME_RESULT ) ,
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 ) ,
@@ -1413,7 +1413,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14131413 LintId :: of( & new_without_default:: NEW_WITHOUT_DEFAULT ) ,
14141414 LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
14151415 LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1416- LintId :: of( & ok_if_let :: IF_LET_SOME_RESULT ) ,
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