@@ -788,6 +788,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
788
788
& to_digit_is_some:: TO_DIGIT_IS_SOME ,
789
789
& trait_bounds:: TYPE_REPETITION_IN_BOUNDS ,
790
790
& transmute:: CROSSPOINTER_TRANSMUTE ,
791
+ & transmute:: TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS ,
791
792
& transmute:: TRANSMUTE_BYTES_TO_STR ,
792
793
& transmute:: TRANSMUTE_FLOAT_TO_INT ,
793
794
& transmute:: TRANSMUTE_INT_TO_BOOL ,
@@ -798,7 +799,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
798
799
& transmute:: UNSOUND_COLLECTION_TRANSMUTE ,
799
800
& transmute:: USELESS_TRANSMUTE ,
800
801
& transmute:: WRONG_TRANSMUTE ,
801
- & transmute:: TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS ,
802
802
& transmuting_null:: TRANSMUTING_NULL ,
803
803
& trivially_copy_pass_by_ref:: TRIVIALLY_COPY_PASS_BY_REF ,
804
804
& try_err:: TRY_ERR ,
@@ -1418,6 +1418,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1418
1418
LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
1419
1419
LintId :: of( & to_digit_is_some:: TO_DIGIT_IS_SOME ) ,
1420
1420
LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
1421
+ LintId :: of( & transmute:: TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS ) ,
1421
1422
LintId :: of( & transmute:: TRANSMUTE_BYTES_TO_STR ) ,
1422
1423
LintId :: of( & transmute:: TRANSMUTE_FLOAT_TO_INT ) ,
1423
1424
LintId :: of( & transmute:: TRANSMUTE_INT_TO_BOOL ) ,
@@ -1427,7 +1428,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1427
1428
LintId :: of( & transmute:: TRANSMUTE_PTR_TO_REF ) ,
1428
1429
LintId :: of( & transmute:: UNSOUND_COLLECTION_TRANSMUTE ) ,
1429
1430
LintId :: of( & transmute:: WRONG_TRANSMUTE ) ,
1430
- LintId :: of( & transmute:: TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS ) ,
1431
1431
LintId :: of( & transmuting_null:: TRANSMUTING_NULL ) ,
1432
1432
LintId :: of( & try_err:: TRY_ERR ) ,
1433
1433
LintId :: of( & types:: ABSURD_EXTREME_COMPARISONS ) ,
@@ -1619,14 +1619,14 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1619
1619
LintId :: of( & swap:: MANUAL_SWAP ) ,
1620
1620
LintId :: of( & temporary_assignment:: TEMPORARY_ASSIGNMENT ) ,
1621
1621
LintId :: of( & transmute:: CROSSPOINTER_TRANSMUTE ) ,
1622
+ LintId :: of( & transmute:: TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS ) ,
1622
1623
LintId :: of( & transmute:: TRANSMUTE_BYTES_TO_STR ) ,
1623
1624
LintId :: of( & transmute:: TRANSMUTE_FLOAT_TO_INT ) ,
1624
1625
LintId :: of( & transmute:: TRANSMUTE_INT_TO_BOOL ) ,
1625
1626
LintId :: of( & transmute:: TRANSMUTE_INT_TO_CHAR ) ,
1626
1627
LintId :: of( & transmute:: TRANSMUTE_INT_TO_FLOAT ) ,
1627
1628
LintId :: of( & transmute:: TRANSMUTE_PTR_TO_PTR ) ,
1628
1629
LintId :: of( & transmute:: TRANSMUTE_PTR_TO_REF ) ,
1629
- LintId :: of( & transmute:: TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS ) ,
1630
1630
LintId :: of( & types:: BORROWED_BOX ) ,
1631
1631
LintId :: of( & types:: CHAR_LIT_AS_U8 ) ,
1632
1632
LintId :: of( & types:: TYPE_COMPLEXITY ) ,
0 commit comments