@@ -292,7 +292,6 @@ pub mod types;
292
292
pub mod unicode;
293
293
pub mod unsafe_removed_from_name;
294
294
pub mod unused_io_amount;
295
- pub mod unused_label;
296
295
pub mod unused_self;
297
296
pub mod unwrap;
298
297
pub mod use_self;
@@ -446,6 +445,10 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
446
445
"clippy::into_iter_on_array" ,
447
446
"this lint has been uplifted to rustc and is now called `array_into_iter`" ,
448
447
) ;
448
+ store. register_removed (
449
+ "clippy::unused_label" ,
450
+ "this lint has been uplifted to rustc and is now called `unused_labels`" ,
451
+ ) ;
449
452
// end deprecated lints, do not remove this comment, it’s used in `update_lints`
450
453
451
454
// begin register lints, do not remove this comment, it’s used in `update_lints`
@@ -774,7 +777,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
774
777
& unicode:: ZERO_WIDTH_SPACE ,
775
778
& unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ,
776
779
& unused_io_amount:: UNUSED_IO_AMOUNT ,
777
- & unused_label:: UNUSED_LABEL ,
778
780
& unused_self:: UNUSED_SELF ,
779
781
& unwrap:: PANICKING_UNWRAP ,
780
782
& unwrap:: UNNECESSARY_UNWRAP ,
@@ -868,7 +870,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
868
870
store. register_late_pass ( || box format:: UselessFormat ) ;
869
871
store. register_late_pass ( || box swap:: Swap ) ;
870
872
store. register_late_pass ( || box overflow_check_conditional:: OverflowCheckConditional ) ;
871
- store. register_late_pass ( || box unused_label:: UnusedLabel ) ;
872
873
store. register_late_pass ( || box new_without_default:: NewWithoutDefault :: default ( ) ) ;
873
874
let blacklisted_names = conf. blacklisted_names . iter ( ) . cloned ( ) . collect :: < FxHashSet < _ > > ( ) ;
874
875
store. register_late_pass ( move || box blacklisted_name:: BlacklistedName :: new ( blacklisted_names. clone ( ) ) ) ;
@@ -1302,7 +1303,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1302
1303
LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
1303
1304
LintId :: of( & unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ) ,
1304
1305
LintId :: of( & unused_io_amount:: UNUSED_IO_AMOUNT ) ,
1305
- LintId :: of( & unused_label:: UNUSED_LABEL ) ,
1306
1306
LintId :: of( & unwrap:: PANICKING_UNWRAP ) ,
1307
1307
LintId :: of( & unwrap:: UNNECESSARY_UNWRAP ) ,
1308
1308
LintId :: of( & vec:: USELESS_VEC ) ,
@@ -1482,7 +1482,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
1482
1482
LintId :: of( & types:: UNIT_ARG ) ,
1483
1483
LintId :: of( & types:: UNNECESSARY_CAST ) ,
1484
1484
LintId :: of( & types:: VEC_BOX ) ,
1485
- LintId :: of( & unused_label:: UNUSED_LABEL ) ,
1486
1485
LintId :: of( & unwrap:: UNNECESSARY_UNWRAP ) ,
1487
1486
LintId :: of( & zero_div_zero:: ZERO_DIVIDED_BY_ZERO ) ,
1488
1487
] ) ;
0 commit comments