| 
1 | 1 | error[E0570]: "msp430-interrupt" is not a supported ABI for the current target  | 
2 |  | -  --> $DIR/cannot-be-called.rs:37:8  | 
 | 2 | +  --> $DIR/cannot-be-called.rs:38:8  | 
3 | 3 |    |  | 
4 | 4 | LL | extern "msp430-interrupt" fn msp430() {}  | 
5 | 5 |    |        ^^^^^^^^^^^^^^^^^^  | 
6 | 6 | 
 
  | 
7 | 7 | error[E0570]: "avr-interrupt" is not a supported ABI for the current target  | 
8 |  | -  --> $DIR/cannot-be-called.rs:39:8  | 
 | 8 | +  --> $DIR/cannot-be-called.rs:40:8  | 
9 | 9 |    |  | 
10 | 10 | LL | extern "avr-interrupt" fn avr() {}  | 
11 | 11 |    |        ^^^^^^^^^^^^^^^  | 
12 | 12 | 
 
  | 
13 | 13 | error[E0570]: "riscv-interrupt-m" is not a supported ABI for the current target  | 
14 |  | -  --> $DIR/cannot-be-called.rs:41:8  | 
 | 14 | +  --> $DIR/cannot-be-called.rs:42:8  | 
15 | 15 |    |  | 
16 | 16 | LL | extern "riscv-interrupt-m" fn riscv_m() {}  | 
17 | 17 |    |        ^^^^^^^^^^^^^^^^^^^  | 
18 | 18 | 
 
  | 
19 | 19 | error[E0570]: "riscv-interrupt-s" is not a supported ABI for the current target  | 
20 |  | -  --> $DIR/cannot-be-called.rs:43:8  | 
 | 20 | +  --> $DIR/cannot-be-called.rs:44:8  | 
21 | 21 |    |  | 
22 | 22 | LL | extern "riscv-interrupt-s" fn riscv_s() {}  | 
23 | 23 |    |        ^^^^^^^^^^^^^^^^^^^  | 
24 | 24 | 
 
  | 
25 | 25 | error[E0570]: "avr-interrupt" is not a supported ABI for the current target  | 
26 |  | -  --> $DIR/cannot-be-called.rs:66:22  | 
 | 26 | +  --> $DIR/cannot-be-called.rs:67:22  | 
27 | 27 |    |  | 
28 | 28 | LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {  | 
29 | 29 |    |                      ^^^^^^^^^^^^^^^  | 
30 | 30 | 
 
  | 
31 | 31 | error[E0570]: "msp430-interrupt" is not a supported ABI for the current target  | 
32 |  | -  --> $DIR/cannot-be-called.rs:72:25  | 
 | 32 | +  --> $DIR/cannot-be-called.rs:73:25  | 
33 | 33 |    |  | 
34 | 34 | LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {  | 
35 | 35 |    |                         ^^^^^^^^^^^^^^^^^^  | 
36 | 36 | 
 
  | 
37 | 37 | error[E0570]: "riscv-interrupt-m" is not a supported ABI for the current target  | 
38 |  | -  --> $DIR/cannot-be-called.rs:78:26  | 
 | 38 | +  --> $DIR/cannot-be-called.rs:79:26  | 
39 | 39 |    |  | 
40 | 40 | LL | fn riscv_m_ptr(f: extern "riscv-interrupt-m" fn()) {  | 
41 | 41 |    |                          ^^^^^^^^^^^^^^^^^^^  | 
42 | 42 | 
 
  | 
43 | 43 | error[E0570]: "riscv-interrupt-s" is not a supported ABI for the current target  | 
44 |  | -  --> $DIR/cannot-be-called.rs:84:26  | 
 | 44 | +  --> $DIR/cannot-be-called.rs:85:26  | 
45 | 45 |    |  | 
46 | 46 | LL | fn riscv_s_ptr(f: extern "riscv-interrupt-s" fn()) {  | 
47 | 47 |    |                          ^^^^^^^^^^^^^^^^^^^  | 
48 | 48 | 
 
  | 
49 | 49 | error: functions with the "x86-interrupt" ABI cannot be called  | 
50 |  | -  --> $DIR/cannot-be-called.rs:60:5  | 
 | 50 | +  --> $DIR/cannot-be-called.rs:61:5  | 
51 | 51 |    |  | 
52 | 52 | LL |     x86(&raw const BYTE);  | 
53 | 53 |    |     ^^^^^^^^^^^^^^^^^^^^  | 
54 | 54 |    |  | 
55 | 55 | note: an `extern "x86-interrupt"` function can only be called using inline assembly  | 
56 |  | -  --> $DIR/cannot-be-called.rs:60:5  | 
 | 56 | +  --> $DIR/cannot-be-called.rs:61:5  | 
57 | 57 |    |  | 
58 | 58 | LL |     x86(&raw const BYTE);  | 
59 | 59 |    |     ^^^^^^^^^^^^^^^^^^^^  | 
60 | 60 | 
 
  | 
61 | 61 | error: functions with the "x86-interrupt" ABI cannot be called  | 
62 |  | -  --> $DIR/cannot-be-called.rs:92:5  | 
 | 62 | +  --> $DIR/cannot-be-called.rs:93:5  | 
63 | 63 |    |  | 
64 | 64 | LL |     f()  | 
65 | 65 |    |     ^^^  | 
66 | 66 |    |  | 
67 | 67 | note: an `extern "x86-interrupt"` function can only be called using inline assembly  | 
68 |  | -  --> $DIR/cannot-be-called.rs:92:5  | 
 | 68 | +  --> $DIR/cannot-be-called.rs:93:5  | 
69 | 69 |    |  | 
70 | 70 | LL |     f()  | 
71 | 71 |    |     ^^^  | 
 | 
0 commit comments