@@ -89,7 +89,7 @@ error: fn_abi_of(test) = FnAbi {
89
89
conv: Rust,
90
90
can_unwind: $SOME_BOOL,
91
91
}
92
- --> $DIR/debug.rs:23 :1
92
+ --> $DIR/debug.rs:27 :1
93
93
|
94
94
LL | fn test(_x: u8) -> bool {
95
95
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -185,7 +185,7 @@ error: fn_abi_of(TestFnPtr) = FnAbi {
185
185
conv: Rust,
186
186
can_unwind: $SOME_BOOL,
187
187
}
188
- --> $DIR/debug.rs:29 :1
188
+ --> $DIR/debug.rs:33 :1
189
189
|
190
190
LL | type TestFnPtr = fn(bool) -> u8;
191
191
| ^^^^^^^^^^^^^^
@@ -263,13 +263,13 @@ error: fn_abi_of(test_generic) = FnAbi {
263
263
conv: Rust,
264
264
can_unwind: $SOME_BOOL,
265
265
}
266
- --> $DIR/debug.rs:32 :1
266
+ --> $DIR/debug.rs:36 :1
267
267
|
268
268
LL | fn test_generic<T>(_x: *const T) {}
269
269
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
270
270
271
271
error: `#[rustc_abi]` can only be applied to function items, type aliases, and associated functions
272
- --> $DIR/debug.rs:35 :1
272
+ --> $DIR/debug.rs:39 :1
273
273
|
274
274
LL | const C: () = ();
275
275
| ^^^^^^^^^^^
@@ -419,7 +419,7 @@ error: ABIs are not compatible
419
419
conv: Rust,
420
420
can_unwind: $SOME_BOOL,
421
421
}
422
- --> $DIR/debug.rs:51 :1
422
+ --> $DIR/debug.rs:55 :1
423
423
|
424
424
LL | type TestAbiNe = (fn(u8), fn(u32));
425
425
| ^^^^^^^^^^^^^^
@@ -571,7 +571,7 @@ error: ABIs are not compatible
571
571
conv: Rust,
572
572
can_unwind: $SOME_BOOL,
573
573
}
574
- --> $DIR/debug.rs:54 :1
574
+ --> $DIR/debug.rs:58 :1
575
575
|
576
576
LL | type TestAbiNeLarger = (fn([u8; 32]), fn([u32; 32]));
577
577
| ^^^^^^^^^^^^^^^^^^^^
@@ -720,7 +720,7 @@ error: ABIs are not compatible
720
720
conv: Rust,
721
721
can_unwind: $SOME_BOOL,
722
722
}
723
- --> $DIR/debug.rs:57 :1
723
+ --> $DIR/debug.rs:61 :1
724
724
|
725
725
LL | type TestAbiNeFloat = (fn(f32), fn(u32));
726
726
| ^^^^^^^^^^^^^^^^^^^
@@ -870,13 +870,13 @@ error: ABIs are not compatible
870
870
conv: Rust,
871
871
can_unwind: $SOME_BOOL,
872
872
}
873
- --> $DIR/debug.rs:61 :1
873
+ --> $DIR/debug.rs:65 :1
874
874
|
875
875
LL | type TestAbiNeSign = (fn(i32), fn(u32));
876
876
| ^^^^^^^^^^^^^^^^^^
877
877
878
878
error[E0277]: the size for values of type `str` cannot be known at compilation time
879
- --> $DIR/debug.rs:64 :46
879
+ --> $DIR/debug.rs:68 :46
880
880
|
881
881
LL | type TestAbiEqNonsense = (fn((str, str)), fn((str, str)));
882
882
| ^^^^^^^^^^ doesn't have a size known at compile-time
@@ -885,13 +885,13 @@ LL | type TestAbiEqNonsense = (fn((str, str)), fn((str, str)));
885
885
= note: only the last element of a tuple may have a dynamically sized type
886
886
887
887
error: unrecognized argument
888
- --> $DIR/debug.rs:66 :13
888
+ --> $DIR/debug.rs:70 :13
889
889
|
890
890
LL | #[rustc_abi("assert_eq")]
891
891
| ^^^^^^^^^^^
892
892
893
893
error: `#[rustc_abi]` can only be applied to function items, type aliases, and associated functions
894
- --> $DIR/debug.rs:39 :5
894
+ --> $DIR/debug.rs:43 :5
895
895
|
896
896
LL | const C: () = ();
897
897
| ^^^^^^^^^^^
@@ -981,7 +981,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
981
981
conv: Rust,
982
982
can_unwind: $SOME_BOOL,
983
983
}
984
- --> $DIR/debug.rs:44 :5
984
+ --> $DIR/debug.rs:48 :5
985
985
|
986
986
LL | fn assoc_test(&self) {}
987
987
| ^^^^^^^^^^^^^^^^^^^^
0 commit comments