@@ -518,6 +518,7 @@ fn private_entry_signature_change_allowed() {
518
518
check_struct_layout: true ,
519
519
check_friend_linking: true ,
520
520
check_private_entry_linking: false ,
521
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
521
522
}
522
523
. check( & module, & updated_module)
523
524
. is_ok( ) ) ;
@@ -528,6 +529,7 @@ fn private_entry_signature_change_allowed() {
528
529
check_struct_layout: true ,
529
530
check_friend_linking: true ,
530
531
check_private_entry_linking: false ,
532
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
531
533
}
532
534
. check( & updated_module, & module)
533
535
. is_ok( ) ) ;
@@ -614,6 +616,7 @@ fn entry_fun_compat_tests() {
614
616
check_struct_layout: true ,
615
617
check_friend_linking: true ,
616
618
check_private_entry_linking: false ,
619
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
617
620
}
618
621
. check( prev, new)
619
622
. is_ok( ) ) ;
@@ -631,6 +634,7 @@ fn entry_fun_compat_tests() {
631
634
check_struct_layout: true ,
632
635
check_friend_linking: false ,
633
636
check_private_entry_linking: false ,
637
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
634
638
}
635
639
. check( prev, new)
636
640
. is_ok( ) ) ;
@@ -640,6 +644,7 @@ fn entry_fun_compat_tests() {
640
644
check_struct_layout: true ,
641
645
check_friend_linking: true ,
642
646
check_private_entry_linking: false ,
647
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
643
648
}
644
649
. check( prev, new)
645
650
. is_err( ) ) ;
@@ -651,6 +656,7 @@ fn entry_fun_compat_tests() {
651
656
check_struct_layout: true ,
652
657
check_friend_linking: true ,
653
658
check_private_entry_linking: false ,
659
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
654
660
}
655
661
. check( prev, new)
656
662
. is_err( ) ) ;
@@ -673,7 +679,8 @@ fn public_entry_signature_change_disallowed() {
673
679
check_struct_and_pub_function_linking: true ,
674
680
check_struct_layout: true ,
675
681
check_friend_linking: true ,
676
- check_private_entry_linking: false
682
+ check_private_entry_linking: false ,
683
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
677
684
}
678
685
. check( & module, & updated_module)
679
686
. is_err( ) ) ;
@@ -682,7 +689,8 @@ fn public_entry_signature_change_disallowed() {
682
689
check_struct_and_pub_function_linking: true ,
683
690
check_struct_layout: true ,
684
691
check_friend_linking: true ,
685
- check_private_entry_linking: false
692
+ check_private_entry_linking: false ,
693
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
686
694
}
687
695
. check( & updated_module, & module)
688
696
. is_err( ) ) ;
@@ -691,7 +699,8 @@ fn public_entry_signature_change_disallowed() {
691
699
check_struct_and_pub_function_linking: true ,
692
700
check_struct_layout: true ,
693
701
check_friend_linking: true ,
694
- check_private_entry_linking: true
702
+ check_private_entry_linking: true ,
703
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
695
704
}
696
705
. check( & module, & updated_module)
697
706
. is_err( ) ) ;
@@ -712,7 +721,8 @@ fn friend_entry_signature_change_allowed() {
712
721
check_struct_and_pub_function_linking: true ,
713
722
check_struct_layout: true ,
714
723
check_friend_linking: false ,
715
- check_private_entry_linking: false
724
+ check_private_entry_linking: false ,
725
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
716
726
}
717
727
. check( & module, & updated_module)
718
728
. is_ok( ) ) ;
@@ -721,7 +731,8 @@ fn friend_entry_signature_change_allowed() {
721
731
check_struct_and_pub_function_linking: true ,
722
732
check_struct_layout: true ,
723
733
check_friend_linking: true ,
724
- check_private_entry_linking: false
734
+ check_private_entry_linking: false ,
735
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
725
736
}
726
737
. check( & module, & updated_module)
727
738
. is_err( ) ) ;
@@ -730,7 +741,8 @@ fn friend_entry_signature_change_allowed() {
730
741
check_struct_and_pub_function_linking: true ,
731
742
check_struct_layout: true ,
732
743
check_friend_linking: false ,
733
- check_private_entry_linking: true
744
+ check_private_entry_linking: true ,
745
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
734
746
}
735
747
. check( & module, & updated_module)
736
748
. is_err( ) ) ;
@@ -739,7 +751,8 @@ fn friend_entry_signature_change_allowed() {
739
751
check_struct_and_pub_function_linking: true ,
740
752
check_struct_layout: true ,
741
753
check_friend_linking: true ,
742
- check_private_entry_linking: true
754
+ check_private_entry_linking: true ,
755
+ disallowed_new_abilities: AbilitySet :: EMPTY ,
743
756
}
744
757
. check( & module, & updated_module)
745
758
. is_err( ) ) ;
0 commit comments