@@ -780,7 +780,6 @@ 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
- & unnecessary_sort_by:: UNNECESSARY_SORT_BY ,
784
783
& strings:: STRING_ADD ,
785
784
& strings:: STRING_ADD_ASSIGN ,
786
785
& strings:: STRING_LIT_AS_BYTES ,
@@ -835,6 +834,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
835
834
& unicode:: ZERO_WIDTH_SPACE ,
836
835
& unnamed_address:: FN_ADDRESS_COMPARISONS ,
837
836
& unnamed_address:: VTABLE_ADDRESS_COMPARISONS ,
837
+ & unnecessary_sort_by:: UNNECESSARY_SORT_BY ,
838
838
& unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ,
839
839
& unused_io_amount:: UNUSED_IO_AMOUNT ,
840
840
& unused_self:: UNUSED_SELF ,
@@ -1394,7 +1394,6 @@ 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( & unnecessary_sort_by:: UNNECESSARY_SORT_BY ) ,
1398
1397
LintId :: of( & strings:: STRING_LIT_AS_BYTES ) ,
1399
1398
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_ARITHMETIC_IMPL ) ,
1400
1399
LintId :: of( & suspicious_trait_impl:: SUSPICIOUS_OP_ASSIGN_IMPL ) ,
@@ -1431,6 +1430,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1431
1430
LintId :: of( & unicode:: ZERO_WIDTH_SPACE ) ,
1432
1431
LintId :: of( & unnamed_address:: FN_ADDRESS_COMPARISONS ) ,
1433
1432
LintId :: of( & unnamed_address:: VTABLE_ADDRESS_COMPARISONS ) ,
1433
+ LintId :: of( & unnecessary_sort_by:: UNNECESSARY_SORT_BY ) ,
1434
1434
LintId :: of( & unsafe_removed_from_name:: UNSAFE_REMOVED_FROM_NAME ) ,
1435
1435
LintId :: of( & unused_io_amount:: UNUSED_IO_AMOUNT ) ,
1436
1436
LintId :: of( & unwrap:: PANICKING_UNWRAP ) ,
@@ -1596,7 +1596,6 @@ 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( & unnecessary_sort_by:: UNNECESSARY_SORT_BY ) ,
1600
1599
LintId :: of( & swap:: MANUAL_SWAP ) ,
1601
1600
LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
1602
1601
LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
@@ -1613,6 +1612,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1613
1612
LintId :: of( & types:: UNIT_ARG ) ,
1614
1613
LintId :: of( & types:: UNNECESSARY_CAST ) ,
1615
1614
LintId :: of( & types:: VEC_BOX ) ,
1615
+ LintId :: of( & unnecessary_sort_by:: UNNECESSARY_SORT_BY ) ,
1616
1616
LintId :: of( & unwrap:: UNNECESSARY_UNWRAP ) ,
1617
1617
LintId :: of( & useless_conversion:: USELESS_CONVERSION ) ,
1618
1618
LintId :: of( & zero_div_zero:: ZERO_DIVIDED_BY_ZERO ) ,
0 commit comments