@@ -854,9 +854,9 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
854
854
& types:: UNIT_CMP ,
855
855
& types:: UNNECESSARY_CAST ,
856
856
& types:: VEC_BOX ,
857
+ & unicode:: INVISIBLE_CHARACTERS ,
857
858
& unicode:: NON_ASCII_LITERAL ,
858
859
& unicode:: UNICODE_NOT_NFC ,
859
- & unicode:: ZERO_WIDTH_SPACE ,
860
860
& unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ,
861
861
& unnamed_address:: FN_ADDRESS_COMPARISONS ,
862
862
& unnamed_address:: VTABLE_ADDRESS_COMPARISONS ,
@@ -1511,7 +1511,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1511
1511
LintId :: of( & types:: UNIT_CMP ) ,
1512
1512
LintId :: of( & types:: UNNECESSARY_CAST ) ,
1513
1513
LintId :: of( & types:: VEC_BOX ) ,
1514
- LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
1514
+ LintId :: of( & unicode:: INVISIBLE_CHARACTERS ) ,
1515
1515
LintId :: of( & unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ) ,
1516
1516
LintId :: of( & unnamed_address:: FN_ADDRESS_COMPARISONS ) ,
1517
1517
LintId :: of( & unnamed_address:: VTABLE_ADDRESS_COMPARISONS ) ,
@@ -1779,7 +1779,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1779
1779
LintId :: of( & types:: ABSURD_EXTREME_COMPARISONS ) ,
1780
1780
LintId :: of( & types:: CAST_REF_TO_MUT ) ,
1781
1781
LintId :: of( & types:: UNIT_CMP ) ,
1782
- LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
1782
+ LintId :: of( & unicode:: INVISIBLE_CHARACTERS ) ,
1783
1783
LintId :: of( & unit_return_expecting_ord:: UNIT_RETURN_EXPECTING_ORD ) ,
1784
1784
LintId :: of( & unnamed_address:: FN_ADDRESS_COMPARISONS ) ,
1785
1785
LintId :: of( & unnamed_address:: VTABLE_ADDRESS_COMPARISONS ) ,
@@ -1910,6 +1910,7 @@ pub fn register_renamed(ls: &mut rustc_lint::LintStore) {
1910
1910
ls. register_renamed ( "clippy::for_loop_over_option" , "clippy::for_loops_over_fallibles" ) ;
1911
1911
ls. register_renamed ( "clippy::for_loop_over_result" , "clippy::for_loops_over_fallibles" ) ;
1912
1912
ls. register_renamed ( "clippy::identity_conversion" , "clippy::useless_conversion" ) ;
1913
+ ls. register_renamed ( "clippy::zero_width_space" , "clippy::invisible_characters" ) ;
1913
1914
}
1914
1915
1915
1916
// only exists to let the dogfood integration test works.
0 commit comments