@@ -211,6 +211,7 @@ pub mod functions;
211
211
pub mod get_last_with_len;
212
212
pub mod identity_conversion;
213
213
pub mod identity_op;
214
+ pub mod if_let_some_result;
214
215
pub mod if_not_else;
215
216
pub mod implicit_return;
216
217
pub mod indexing_slicing;
@@ -264,7 +265,6 @@ pub mod new_without_default;
264
265
pub mod no_effect;
265
266
pub mod non_copy_const;
266
267
pub mod non_expressive_names;
267
- pub mod ok_if_let;
268
268
pub mod open_options;
269
269
pub mod overflow_check_conditional;
270
270
pub mod panic_unimplemented;
@@ -703,7 +703,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
703
703
& non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ,
704
704
& non_expressive_names:: MANY_SINGLE_CHAR_NAMES ,
705
705
& non_expressive_names:: SIMILAR_NAMES ,
706
- & ok_if_let :: IF_LET_SOME_RESULT ,
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 ,
@@ -904,7 +904,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
904
904
store. register_late_pass ( || box eval_order_dependence:: EvalOrderDependence ) ;
905
905
store. register_late_pass ( || box missing_doc:: MissingDoc :: new ( ) ) ;
906
906
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 ) ;
908
908
store. register_late_pass ( || box redundant_pattern_matching:: RedundantPatternMatching ) ;
909
909
store. register_late_pass ( || box partialeq_ne_impl:: PartialEqNeImpl ) ;
910
910
store. register_late_pass ( || box unused_io_amount:: UnusedIoAmount ) ;
@@ -1262,7 +1262,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1262
1262
LintId :: of( & non_copy_const:: DECLARE_INTERIOR_MUTABLE_CONST ) ,
1263
1263
LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
1264
1264
LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1265
- LintId :: of( & ok_if_let :: IF_LET_SOME_RESULT ) ,
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 ) ,
@@ -1411,7 +1411,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1411
1411
LintId :: of( & new_without_default:: NEW_WITHOUT_DEFAULT ) ,
1412
1412
LintId :: of( & non_expressive_names:: JUST_UNDERSCORES_AND_DIGITS ) ,
1413
1413
LintId :: of( & non_expressive_names:: MANY_SINGLE_CHAR_NAMES ) ,
1414
- LintId :: of( & ok_if_let :: IF_LET_SOME_RESULT ) ,
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