@@ -304,7 +304,7 @@ mod serde_api;
304304mod shadow;
305305mod single_component_path_imports;
306306mod slow_vector_initialization;
307- mod sort_by_key ;
307+ mod unnecessary_sort_by ;
308308mod strings;
309309mod suspicious_trait_impl;
310310mod swap;
@@ -780,7 +780,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
780780 & shadow:: SHADOW_UNRELATED ,
781781 & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ,
782782 & slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ,
783- & sort_by_key :: SORT_BY_KEY ,
783+ & unnecessary_sort_by :: UNNECESSARY_SORT_BY ,
784784 & strings:: STRING_ADD ,
785785 & strings:: STRING_ADD_ASSIGN ,
786786 & strings:: STRING_LIT_AS_BYTES ,
@@ -998,7 +998,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
998998 store. register_late_pass ( || box ptr_offset_with_cast:: PtrOffsetWithCast ) ;
999999 store. register_late_pass ( || box redundant_clone:: RedundantClone ) ;
10001000 store. register_late_pass ( || box slow_vector_initialization:: SlowVectorInit ) ;
1001- store. register_late_pass ( || box sort_by_key :: SortByKey ) ;
1001+ store. register_late_pass ( || box unnecessary_sort_by :: UnnecessarySortBy ) ;
10021002 store. register_late_pass ( || box types:: RefToMut ) ;
10031003 store. register_late_pass ( || box assertions_on_constants:: AssertionsOnConstants ) ;
10041004 store. register_late_pass ( || box missing_const_for_fn:: MissingConstForFn ) ;
@@ -1394,7 +1394,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13941394 LintId :: of( & serde_api:: SERDE_API_MISUSE ) ,
13951395 LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
13961396 LintId :: of( & slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ) ,
1397- LintId :: of( & sort_by_key :: SORT_BY_KEY ) ,
1397+ LintId :: of( & unnecessary_sort_by :: UNNECESSARY_SORT_BY ) ,
13981398 LintId :: of( & strings:: STRING_LIT_AS_BYTES ) ,
13991399 LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
14001400 LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
@@ -1596,7 +1596,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
15961596 LintId :: of( & ranges:: RANGE_ZIP_WITH_LEN ) ,
15971597 LintId :: of( & reference:: DEREF_ADDROF ) ,
15981598 LintId :: of( & reference:: REF_IN_DEREF ) ,
1599- LintId :: of( & sort_by_key :: SORT_BY_KEY ) ,
1599+ LintId :: of( & unnecessary_sort_by :: UNNECESSARY_SORT_BY ) ,
16001600 LintId :: of( & swap:: MANUAL_SWAP ) ,
16011601 LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
16021602 LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
0 commit comments