@@ -498,6 +498,24 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
498
498
499
499
// begin register lints, do not remove this comment, it’s used in `update_lints`
500
500
store. register_lints ( & [
501
+ #[ cfg( feature = "internal-lints" ) ]
502
+ & utils:: internal_lints:: CLIPPY_LINTS_INTERNAL ,
503
+ #[ cfg( feature = "internal-lints" ) ]
504
+ & utils:: internal_lints:: COLLAPSIBLE_SPAN_LINT_CALLS ,
505
+ #[ cfg( feature = "internal-lints" ) ]
506
+ & utils:: internal_lints:: COMPILER_LINT_FUNCTIONS ,
507
+ #[ cfg( feature = "internal-lints" ) ]
508
+ & utils:: internal_lints:: DEFAULT_LINT ,
509
+ #[ cfg( feature = "internal-lints" ) ]
510
+ & utils:: internal_lints:: INVALID_PATHS ,
511
+ #[ cfg( feature = "internal-lints" ) ]
512
+ & utils:: internal_lints:: LINT_WITHOUT_LINT_PASS ,
513
+ #[ cfg( feature = "internal-lints" ) ]
514
+ & utils:: internal_lints:: MATCH_TYPE_ON_DIAGNOSTIC_ITEM ,
515
+ #[ cfg( feature = "internal-lints" ) ]
516
+ & utils:: internal_lints:: OUTER_EXPN_EXPN_DATA ,
517
+ #[ cfg( feature = "internal-lints" ) ]
518
+ & utils:: internal_lints:: PRODUCE_ICE ,
501
519
& approx_const:: APPROX_CONSTANT ,
502
520
& arithmetic:: FLOAT_ARITHMETIC ,
503
521
& arithmetic:: INTEGER_ARITHMETIC ,
@@ -904,24 +922,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
904
922
& unwrap_in_result:: UNWRAP_IN_RESULT ,
905
923
& use_self:: USE_SELF ,
906
924
& useless_conversion:: USELESS_CONVERSION ,
907
- #[ cfg( feature = "internal-lints" ) ]
908
- & utils:: internal_lints:: CLIPPY_LINTS_INTERNAL ,
909
- #[ cfg( feature = "internal-lints" ) ]
910
- & utils:: internal_lints:: COLLAPSIBLE_SPAN_LINT_CALLS ,
911
- #[ cfg( feature = "internal-lints" ) ]
912
- & utils:: internal_lints:: COMPILER_LINT_FUNCTIONS ,
913
- #[ cfg( feature = "internal-lints" ) ]
914
- & utils:: internal_lints:: DEFAULT_LINT ,
915
- #[ cfg( feature = "internal-lints" ) ]
916
- & utils:: internal_lints:: INVALID_PATHS ,
917
- #[ cfg( feature = "internal-lints" ) ]
918
- & utils:: internal_lints:: LINT_WITHOUT_LINT_PASS ,
919
- #[ cfg( feature = "internal-lints" ) ]
920
- & utils:: internal_lints:: MATCH_TYPE_ON_DIAGNOSTIC_ITEM ,
921
- #[ cfg( feature = "internal-lints" ) ]
922
- & utils:: internal_lints:: OUTER_EXPN_EXPN_DATA ,
923
- #[ cfg( feature = "internal-lints" ) ]
924
- & utils:: internal_lints:: PRODUCE_ICE ,
925
925
& vec:: USELESS_VEC ,
926
926
& vec_resize_to_zero:: VEC_RESIZE_TO_ZERO ,
927
927
& verbose_file_reads:: VERBOSE_FILE_READS ,
0 commit comments