@@ -304,7 +304,7 @@ mod serde_api;
304
304
mod shadow;
305
305
mod single_component_path_imports;
306
306
mod slow_vector_initialization;
307
- mod sort_by_key ;
307
+ mod unnecessary_sort_by ;
308
308
mod strings;
309
309
mod suspicious_trait_impl;
310
310
mod swap;
@@ -780,7 +780,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
780
780
& shadow:: SHADOW_UNRELATED ,
781
781
& single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ,
782
782
& slow_vector_initialization:: SLOW_VECTOR_INITIALIZATION ,
783
- & sort_by_key :: SORT_BY_KEY ,
783
+ & unnecessary_sort_by :: UNNECESSARY_SORT_BY ,
784
784
& strings:: STRING_ADD ,
785
785
& strings:: STRING_ADD_ASSIGN ,
786
786
& strings:: STRING_LIT_AS_BYTES ,
@@ -998,7 +998,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
998
998
store. register_late_pass ( || box ptr_offset_with_cast:: PtrOffsetWithCast ) ;
999
999
store. register_late_pass ( || box redundant_clone:: RedundantClone ) ;
1000
1000
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 ) ;
1002
1002
store. register_late_pass ( || box types:: RefToMut ) ;
1003
1003
store. register_late_pass ( || box assertions_on_constants:: AssertionsOnConstants ) ;
1004
1004
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:
1394
1394
LintId :: of( & serde_api:: SERDE_API_MISUSE ) ,
1395
1395
LintId :: of( & single_component_path_imports:: SINGLE_COMPONENT_PATH_IMPORTS ) ,
1396
1396
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 ) ,
1398
1398
LintId :: of( & strings:: STRING_LIT_AS_BYTES ) ,
1399
1399
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1400
1400
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:
1596
1596
LintId :: of( & ranges:: RANGE_ZIP_WITH_LEN ) ,
1597
1597
LintId :: of( & reference:: DEREF_ADDROF ) ,
1598
1598
LintId :: of( & reference:: REF_IN_DEREF ) ,
1599
- LintId :: of( & sort_by_key :: SORT_BY_KEY ) ,
1599
+ LintId :: of( & unnecessary_sort_by :: UNNECESSARY_SORT_BY ) ,
1600
1600
LintId :: of( & swap:: MANUAL_SWAP ) ,
1601
1601
LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
1602
1602
LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
0 commit comments