@@ -209,6 +209,7 @@ pub mod functions;
209
209
pub mod get_last_with_len;
210
210
pub mod identity_conversion;
211
211
pub mod identity_op;
212
+ pub mod if_let_some_result;
212
213
pub mod if_not_else;
213
214
pub mod implicit_return;
214
215
pub mod indexing_slicing;
@@ -262,7 +263,6 @@ pub mod new_without_default;
262
263
pub mod no_effect;
263
264
pub mod non_copy_const;
264
265
pub mod non_expressive_names;
265
- pub mod ok_if_let;
266
266
pub mod open_options;
267
267
pub mod overflow_check_conditional;
268
268
pub mod panic_unimplemented;
@@ -701,7 +701,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
701
701
& non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ,
702
702
& non_expressive_names:: MANY_SINGLE_CHAR_NAMES ,
703
703
& non_expressive_names:: SIMILAR_NAMES ,
704
- & ok_if_let :: IF_LET_SOME_RESULT ,
704
+ & if_let_some_result :: IF_LET_SOME_RESULT ,
705
705
& open_options:: NONSENSICAL_OPEN_OPTIONS ,
706
706
& overflow_check_conditional:: OVERFLOW_CHECK_CONDITIONAL ,
707
707
& panic_unimplemented:: PANIC ,
@@ -902,7 +902,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
902
902
store. register_late_pass ( || box eval_order_dependence:: EvalOrderDependence ) ;
903
903
store. register_late_pass ( || box missing_doc:: MissingDoc :: new ( ) ) ;
904
904
store. register_late_pass ( || box missing_inline:: MissingInline ) ;
905
- store. register_late_pass ( || box ok_if_let :: OkIfLet ) ;
905
+ store. register_late_pass ( || box if_let_some_result :: OkIfLet ) ;
906
906
store. register_late_pass ( || box redundant_pattern_matching:: RedundantPatternMatching ) ;
907
907
store. register_late_pass ( || box partialeq_ne_impl:: PartialEqNeImpl ) ;
908
908
store. register_late_pass ( || box unused_io_amount:: UnusedIoAmount ) ;
@@ -1260,7 +1260,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1260
1260
LintId :: of( & non_copy_const:: DECLARE_INTERIOR_MUTABLE_CONST ) ,
1261
1261
LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
1262
1262
LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1263
- LintId :: of( & ok_if_let :: IF_LET_SOME_RESULT ) ,
1263
+ LintId :: of( & if_let_some_result :: IF_LET_SOME_RESULT ) ,
1264
1264
LintId :: of( & open_options:: NONSENSICAL_OPEN_OPTIONS ) ,
1265
1265
LintId :: of( & overflow_check_conditional:: OVERFLOW_CHECK_CONDITIONAL ) ,
1266
1266
LintId :: of( & panic_unimplemented:: PANIC_PARAMS ) ,
@@ -1409,7 +1409,7 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1409
1409
LintId :: of( & new_without_default:: NEW_WITHOUT_DEFAULT ) ,
1410
1410
LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
1411
1411
LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1412
- LintId :: of( & ok_if_let :: IF_LET_SOME_RESULT ) ,
1412
+ LintId :: of( & if_let_some_result :: IF_LET_SOME_RESULT ) ,
1413
1413
LintId :: of( & panic_unimplemented:: PANIC_PARAMS ) ,
1414
1414
LintId :: of( & ptr:: CMP_NULL ) ,
1415
1415
LintId :: of( & ptr:: PTR_ARG ) ,
0 commit comments