@@ -25,6 +25,7 @@ error: fn_abi_of(test) = FnAbi {
25
25
},
26
26
max_repr_align: None,
27
27
unadjusted_abi_align: $SOME_ALIGN,
28
+ randomization_seed: $SEED,
28
29
},
29
30
},
30
31
mode: Direct(
@@ -71,6 +72,7 @@ error: fn_abi_of(test) = FnAbi {
71
72
},
72
73
max_repr_align: None,
73
74
unadjusted_abi_align: $SOME_ALIGN,
75
+ randomization_seed: $SEED,
74
76
},
75
77
},
76
78
mode: Direct(
@@ -87,7 +89,7 @@ error: fn_abi_of(test) = FnAbi {
87
89
conv: Rust,
88
90
can_unwind: $SOME_BOOL,
89
91
}
90
- --> $DIR/debug.rs:15 :1
92
+ --> $DIR/debug.rs:16 :1
91
93
|
92
94
LL | fn test(_x: u8) -> bool { true }
93
95
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -128,6 +130,7 @@ error: fn_abi_of(TestFnPtr) = FnAbi {
128
130
},
129
131
max_repr_align: None,
130
132
unadjusted_abi_align: $SOME_ALIGN,
133
+ randomization_seed: $SEED,
131
134
},
132
135
},
133
136
mode: Direct(
@@ -165,6 +168,7 @@ error: fn_abi_of(TestFnPtr) = FnAbi {
165
168
},
166
169
max_repr_align: None,
167
170
unadjusted_abi_align: $SOME_ALIGN,
171
+ randomization_seed: $SEED,
168
172
},
169
173
},
170
174
mode: Direct(
@@ -181,7 +185,7 @@ error: fn_abi_of(TestFnPtr) = FnAbi {
181
185
conv: Rust,
182
186
can_unwind: $SOME_BOOL,
183
187
}
184
- --> $DIR/debug.rs:18 :1
188
+ --> $DIR/debug.rs:19 :1
185
189
|
186
190
LL | type TestFnPtr = fn(bool) -> u8;
187
191
| ^^^^^^^^^^^^^^
@@ -214,6 +218,7 @@ error: fn_abi_of(test_generic) = FnAbi {
214
218
},
215
219
max_repr_align: None,
216
220
unadjusted_abi_align: $SOME_ALIGN,
221
+ randomization_seed: $SEED,
217
222
},
218
223
},
219
224
mode: Direct(
@@ -248,6 +253,7 @@ error: fn_abi_of(test_generic) = FnAbi {
248
253
},
249
254
max_repr_align: None,
250
255
unadjusted_abi_align: $SOME_ALIGN,
256
+ randomization_seed: $SEED,
251
257
},
252
258
},
253
259
mode: Ignore,
@@ -257,13 +263,13 @@ error: fn_abi_of(test_generic) = FnAbi {
257
263
conv: Rust,
258
264
can_unwind: $SOME_BOOL,
259
265
}
260
- --> $DIR/debug.rs:21 :1
266
+ --> $DIR/debug.rs:22 :1
261
267
|
262
268
LL | fn test_generic<T>(_x: *const T) { }
263
269
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
264
270
265
271
error: `#[rustc_abi]` can only be applied to function items, type aliases, and associated functions
266
- --> $DIR/debug.rs:24 :1
272
+ --> $DIR/debug.rs:25 :1
267
273
|
268
274
LL | const C: () = ();
269
275
| ^^^^^^^^^^^
@@ -296,6 +302,7 @@ error: ABIs are not compatible
296
302
},
297
303
max_repr_align: None,
298
304
unadjusted_abi_align: $SOME_ALIGN,
305
+ randomization_seed: $SEED,
299
306
},
300
307
},
301
308
mode: Direct(
@@ -330,6 +337,7 @@ error: ABIs are not compatible
330
337
},
331
338
max_repr_align: None,
332
339
unadjusted_abi_align: $SOME_ALIGN,
340
+ randomization_seed: $SEED,
333
341
},
334
342
},
335
343
mode: Ignore,
@@ -366,6 +374,7 @@ error: ABIs are not compatible
366
374
},
367
375
max_repr_align: None,
368
376
unadjusted_abi_align: $SOME_ALIGN,
377
+ randomization_seed: $SEED,
369
378
},
370
379
},
371
380
mode: Direct(
@@ -400,6 +409,7 @@ error: ABIs are not compatible
400
409
},
401
410
max_repr_align: None,
402
411
unadjusted_abi_align: $SOME_ALIGN,
412
+ randomization_seed: $SEED,
403
413
},
404
414
},
405
415
mode: Ignore,
@@ -409,7 +419,7 @@ error: ABIs are not compatible
409
419
conv: Rust,
410
420
can_unwind: $SOME_BOOL,
411
421
}
412
- --> $DIR/debug.rs:40 :1
422
+ --> $DIR/debug.rs:41 :1
413
423
|
414
424
LL | type TestAbiNe = (fn(u8), fn(u32));
415
425
| ^^^^^^^^^^^^^^
@@ -439,6 +449,7 @@ error: ABIs are not compatible
439
449
},
440
450
max_repr_align: None,
441
451
unadjusted_abi_align: $SOME_ALIGN,
452
+ randomization_seed: $SEED,
442
453
},
443
454
},
444
455
mode: Indirect {
@@ -477,6 +488,7 @@ error: ABIs are not compatible
477
488
},
478
489
max_repr_align: None,
479
490
unadjusted_abi_align: $SOME_ALIGN,
491
+ randomization_seed: $SEED,
480
492
},
481
493
},
482
494
mode: Ignore,
@@ -510,6 +522,7 @@ error: ABIs are not compatible
510
522
},
511
523
max_repr_align: None,
512
524
unadjusted_abi_align: $SOME_ALIGN,
525
+ randomization_seed: $SEED,
513
526
},
514
527
},
515
528
mode: Indirect {
@@ -548,6 +561,7 @@ error: ABIs are not compatible
548
561
},
549
562
max_repr_align: None,
550
563
unadjusted_abi_align: $SOME_ALIGN,
564
+ randomization_seed: $SEED,
551
565
},
552
566
},
553
567
mode: Ignore,
@@ -557,7 +571,7 @@ error: ABIs are not compatible
557
571
conv: Rust,
558
572
can_unwind: $SOME_BOOL,
559
573
}
560
- --> $DIR/debug.rs:43 :1
574
+ --> $DIR/debug.rs:44 :1
561
575
|
562
576
LL | type TestAbiNeLarger = (fn([u8; 32]), fn([u32; 32]));
563
577
| ^^^^^^^^^^^^^^^^^^^^
@@ -589,6 +603,7 @@ error: ABIs are not compatible
589
603
},
590
604
max_repr_align: None,
591
605
unadjusted_abi_align: $SOME_ALIGN,
606
+ randomization_seed: $SEED,
592
607
},
593
608
},
594
609
mode: Direct(
@@ -623,6 +638,7 @@ error: ABIs are not compatible
623
638
},
624
639
max_repr_align: None,
625
640
unadjusted_abi_align: $SOME_ALIGN,
641
+ randomization_seed: $SEED,
626
642
},
627
643
},
628
644
mode: Ignore,
@@ -659,6 +675,7 @@ error: ABIs are not compatible
659
675
},
660
676
max_repr_align: None,
661
677
unadjusted_abi_align: $SOME_ALIGN,
678
+ randomization_seed: $SEED,
662
679
},
663
680
},
664
681
mode: Direct(
@@ -693,6 +710,7 @@ error: ABIs are not compatible
693
710
},
694
711
max_repr_align: None,
695
712
unadjusted_abi_align: $SOME_ALIGN,
713
+ randomization_seed: $SEED,
696
714
},
697
715
},
698
716
mode: Ignore,
@@ -702,7 +720,7 @@ error: ABIs are not compatible
702
720
conv: Rust,
703
721
can_unwind: $SOME_BOOL,
704
722
}
705
- --> $DIR/debug.rs:46 :1
723
+ --> $DIR/debug.rs:47 :1
706
724
|
707
725
LL | type TestAbiNeFloat = (fn(f32), fn(u32));
708
726
| ^^^^^^^^^^^^^^^^^^^
@@ -735,6 +753,7 @@ error: ABIs are not compatible
735
753
},
736
754
max_repr_align: None,
737
755
unadjusted_abi_align: $SOME_ALIGN,
756
+ randomization_seed: $SEED,
738
757
},
739
758
},
740
759
mode: Direct(
@@ -769,6 +788,7 @@ error: ABIs are not compatible
769
788
},
770
789
max_repr_align: None,
771
790
unadjusted_abi_align: $SOME_ALIGN,
791
+ randomization_seed: $SEED,
772
792
},
773
793
},
774
794
mode: Ignore,
@@ -805,6 +825,7 @@ error: ABIs are not compatible
805
825
},
806
826
max_repr_align: None,
807
827
unadjusted_abi_align: $SOME_ALIGN,
828
+ randomization_seed: $SEED,
808
829
},
809
830
},
810
831
mode: Direct(
@@ -839,6 +860,7 @@ error: ABIs are not compatible
839
860
},
840
861
max_repr_align: None,
841
862
unadjusted_abi_align: $SOME_ALIGN,
863
+ randomization_seed: $SEED,
842
864
},
843
865
},
844
866
mode: Ignore,
@@ -848,13 +870,13 @@ error: ABIs are not compatible
848
870
conv: Rust,
849
871
can_unwind: $SOME_BOOL,
850
872
}
851
- --> $DIR/debug.rs:50 :1
873
+ --> $DIR/debug.rs:51 :1
852
874
|
853
875
LL | type TestAbiNeSign = (fn(i32), fn(u32));
854
876
| ^^^^^^^^^^^^^^^^^^
855
877
856
878
error[E0277]: the size for values of type `str` cannot be known at compilation time
857
- --> $DIR/debug.rs:53 :46
879
+ --> $DIR/debug.rs:54 :46
858
880
|
859
881
LL | type TestAbiEqNonsense = (fn((str, str)), fn((str, str)));
860
882
| ^^^^^^^^^^ doesn't have a size known at compile-time
@@ -863,7 +885,7 @@ LL | type TestAbiEqNonsense = (fn((str, str)), fn((str, str)));
863
885
= note: only the last element of a tuple may have a dynamically sized type
864
886
865
887
error: `#[rustc_abi]` can only be applied to function items, type aliases, and associated functions
866
- --> $DIR/debug.rs:28 :5
888
+ --> $DIR/debug.rs:29 :5
867
889
|
868
890
LL | const C: () = ();
869
891
| ^^^^^^^^^^^
@@ -906,6 +928,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
906
928
},
907
929
max_repr_align: None,
908
930
unadjusted_abi_align: $SOME_ALIGN,
931
+ randomization_seed: $SEED,
909
932
},
910
933
},
911
934
mode: Direct(
@@ -942,6 +965,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
942
965
},
943
966
max_repr_align: None,
944
967
unadjusted_abi_align: $SOME_ALIGN,
968
+ randomization_seed: $SEED,
945
969
},
946
970
},
947
971
mode: Ignore,
@@ -951,7 +975,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
951
975
conv: Rust,
952
976
can_unwind: $SOME_BOOL,
953
977
}
954
- --> $DIR/debug.rs:33 :5
978
+ --> $DIR/debug.rs:34 :5
955
979
|
956
980
LL | fn assoc_test(&self) { }
957
981
| ^^^^^^^^^^^^^^^^^^^^
0 commit comments