@@ -13,71 +13,71 @@ LL | extern "avr-interrupt" fn avr() {}
13
13
error[E0570]: "x86-interrupt" is not a supported ABI for the current target
14
14
--> $DIR/cannot-be-called.rs:45:8
15
15
|
16
- LL | extern "x86-interrupt" fn x86() {}
16
+ LL | extern "x86-interrupt" fn x86(_x: *const u8 ) {}
17
17
| ^^^^^^^^^^^^^^^
18
18
19
19
error[E0570]: "avr-interrupt" is not a supported ABI for the current target
20
- --> $DIR/cannot-be-called.rs:64 :22
20
+ --> $DIR/cannot-be-called.rs:66 :22
21
21
|
22
22
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
23
23
| ^^^^^^^^^^^^^^^
24
24
25
25
error[E0570]: "msp430-interrupt" is not a supported ABI for the current target
26
- --> $DIR/cannot-be-called.rs:70 :25
26
+ --> $DIR/cannot-be-called.rs:72 :25
27
27
|
28
28
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
29
29
| ^^^^^^^^^^^^^^^^^^
30
30
31
31
error[E0570]: "x86-interrupt" is not a supported ABI for the current target
32
- --> $DIR/cannot-be-called.rs:88 :22
32
+ --> $DIR/cannot-be-called.rs:90 :22
33
33
|
34
34
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
35
35
| ^^^^^^^^^^^^^^^
36
36
37
37
error: functions with the "riscv-interrupt-m" ABI cannot be called
38
- --> $DIR/cannot-be-called.rs:54 :5
38
+ --> $DIR/cannot-be-called.rs:56 :5
39
39
|
40
40
LL | riscv_m();
41
41
| ^^^^^^^^^
42
42
|
43
43
note: an `extern "riscv-interrupt-m"` function can only be called using inline assembly
44
- --> $DIR/cannot-be-called.rs:54 :5
44
+ --> $DIR/cannot-be-called.rs:56 :5
45
45
|
46
46
LL | riscv_m();
47
47
| ^^^^^^^^^
48
48
49
49
error: functions with the "riscv-interrupt-s" ABI cannot be called
50
- --> $DIR/cannot-be-called.rs:56 :5
50
+ --> $DIR/cannot-be-called.rs:58 :5
51
51
|
52
52
LL | riscv_s();
53
53
| ^^^^^^^^^
54
54
|
55
55
note: an `extern "riscv-interrupt-s"` function can only be called using inline assembly
56
- --> $DIR/cannot-be-called.rs:56 :5
56
+ --> $DIR/cannot-be-called.rs:58 :5
57
57
|
58
58
LL | riscv_s();
59
59
| ^^^^^^^^^
60
60
61
61
error: functions with the "riscv-interrupt-m" ABI cannot be called
62
- --> $DIR/cannot-be-called.rs:78 :5
62
+ --> $DIR/cannot-be-called.rs:80 :5
63
63
|
64
64
LL | f()
65
65
| ^^^
66
66
|
67
67
note: an `extern "riscv-interrupt-m"` function can only be called using inline assembly
68
- --> $DIR/cannot-be-called.rs:78 :5
68
+ --> $DIR/cannot-be-called.rs:80 :5
69
69
|
70
70
LL | f()
71
71
| ^^^
72
72
73
73
error: functions with the "riscv-interrupt-s" ABI cannot be called
74
- --> $DIR/cannot-be-called.rs:84 :5
74
+ --> $DIR/cannot-be-called.rs:86 :5
75
75
|
76
76
LL | f()
77
77
| ^^^
78
78
|
79
79
note: an `extern "riscv-interrupt-s"` function can only be called using inline assembly
80
- --> $DIR/cannot-be-called.rs:84 :5
80
+ --> $DIR/cannot-be-called.rs:86 :5
81
81
|
82
82
LL | f()
83
83
| ^^^
0 commit comments