@@ -292,7 +292,6 @@ pub mod types;
292292pub mod unicode;
293293pub mod unsafe_removed_from_name;
294294pub mod unused_io_amount;
295- pub mod unused_label;
296295pub mod unused_self;
297296pub mod unwrap;
298297pub mod use_self;
@@ -446,6 +445,10 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
446445 "clippy::into_iter_on_array" ,
447446 "this lint has been uplifted to rustc and is now called `array_into_iter`" ,
448447 ) ;
448+ store. register_removed (
449+ "clippy::unused_label" ,
450+ "this lint has been uplifted to rustc and is now called `unused_labels`" ,
451+ ) ;
449452 // end deprecated lints, do not remove this comment, it’s used in `update_lints`
450453
451454 // 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
774777 & unicode:: ZERO_WIDTH_SPACE ,
775778 & unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ,
776779 & unused_io_amount:: UNUSED_IO_AMOUNT ,
777- & unused_label:: UNUSED_LABEL ,
778780 & unused_self:: UNUSED_SELF ,
779781 & unwrap:: PANICKING_UNWRAP ,
780782 & unwrap:: UNNECESSARY_UNWRAP ,
@@ -868,7 +870,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
868870 store. register_late_pass ( || box format:: UselessFormat ) ;
869871 store. register_late_pass ( || box swap:: Swap ) ;
870872 store. register_late_pass ( || box overflow_check_conditional:: OverflowCheckConditional ) ;
871- store. register_late_pass ( || box unused_label:: UnusedLabel ) ;
872873 store. register_late_pass ( || box new_without_default:: NewWithoutDefault :: default ( ) ) ;
873874 let blacklisted_names = conf. blacklisted_names . iter ( ) . cloned ( ) . collect :: < FxHashSet < _ > > ( ) ;
874875 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
13021303 LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
13031304 LintId :: of( & unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ) ,
13041305 LintId :: of( & unused_io_amount:: UNUSED_IO_AMOUNT ) ,
1305- LintId :: of( & unused_label:: UNUSED_LABEL ) ,
13061306 LintId :: of( & unwrap:: PANICKING_UNWRAP ) ,
13071307 LintId :: of( & unwrap:: UNNECESSARY_UNWRAP ) ,
13081308 LintId :: of( & vec:: USELESS_VEC ) ,
@@ -1482,7 +1482,6 @@ pub fn register_plugins(store: &mut lint::LintStore, sess: &Session, conf: &Conf
14821482 LintId :: of( & types:: UNIT_ARG ) ,
14831483 LintId :: of( & types:: UNNECESSARY_CAST ) ,
14841484 LintId :: of( & types:: VEC_BOX ) ,
1485- LintId :: of( & unused_label:: UNUSED_LABEL ) ,
14861485 LintId :: of( & unwrap:: UNNECESSARY_UNWRAP ) ,
14871486 LintId :: of( & zero_div_zero:: ZERO_DIVIDED_BY_ZERO ) ,
14881487 ] ) ;
0 commit comments