@@ -854,9 +854,9 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
854854 & types:: UNIT_CMP ,
855855 & types:: UNNECESSARY_CAST ,
856856 & types:: VEC_BOX ,
857+ & unicode:: INVISIBLE_CHARACTERS ,
857858 & unicode:: NON_ASCII_LITERAL ,
858859 & unicode:: UNICODE_NOT_NFC ,
859- & unicode:: ZERO_WIDTH_SPACE ,
860860 & unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ,
861861 & unnamed_address:: FN_ADDRESS_COMPARISONS ,
862862 & unnamed_address:: VTABLE_ADDRESS_COMPARISONS ,
@@ -1511,7 +1511,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15111511 LintId :: of( & types:: UNIT_CMP ) ,
15121512 LintId :: of( & types:: UNNECESSARY_CAST ) ,
15131513 LintId :: of( & types:: VEC_BOX ) ,
1514- LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
1514+ LintId :: of( & unicode:: INVISIBLE_CHARACTERS ) ,
15151515 LintId :: of( & unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ) ,
15161516 LintId :: of( & unnamed_address:: FN_ADDRESS_COMPARISONS ) ,
15171517 LintId :: of( & unnamed_address:: VTABLE_ADDRESS_COMPARISONS ) ,
@@ -1779,7 +1779,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
17791779 LintId :: of( & types:: ABSURD_EXTREME_COMPARISONS ) ,
17801780 LintId :: of( & types:: CAST_REF_TO_MUT ) ,
17811781 LintId :: of( & types:: UNIT_CMP ) ,
1782- LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
1782+ LintId :: of( & unicode:: INVISIBLE_CHARACTERS ) ,
17831783 LintId :: of( & unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ) ,
17841784 LintId :: of( & unnamed_address:: FN_ADDRESS_COMPARISONS ) ,
17851785 LintId :: of( & unnamed_address:: VTABLE_ADDRESS_COMPARISONS ) ,
@@ -1910,6 +1910,7 @@ pub fn register_renamed(ls: &mut rustc_lint::LintStore) {
19101910 ls. register_renamed ( "clippy::for_loop_over_option" , "clippy::for_loops_over_fallibles" ) ;
19111911 ls. register_renamed ( "clippy::for_loop_over_result" , "clippy::for_loops_over_fallibles" ) ;
19121912 ls. register_renamed ( "clippy::identity_conversion" , "clippy::useless_conversion" ) ;
1913+ ls. register_renamed ( "clippy::zero_width_space" , "clippy::invisible_characters" ) ;
19131914}
19141915
19151916// only exists to let the dogfood integration test works.
0 commit comments