@@ -13,71 +13,71 @@ LL | extern "avr-interrupt" fn avr() {}
1313error[E0570]: "x86-interrupt" is not a supported ABI for the current target
1414 --> $DIR/cannot-be-called.rs:45:8
1515 |
16- LL | extern "x86-interrupt" fn x86() {}
16+ LL | extern "x86-interrupt" fn x86(_x: *const u8 ) {}
1717 | ^^^^^^^^^^^^^^^
1818
1919error[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
2121 |
2222LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
2323 | ^^^^^^^^^^^^^^^
2424
2525error[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
2727 |
2828LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
2929 | ^^^^^^^^^^^^^^^^^^
3030
3131error[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
3333 |
3434LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
3535 | ^^^^^^^^^^^^^^^
3636
3737error: 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
3939 |
4040LL | riscv_m();
4141 | ^^^^^^^^^
4242 |
4343note: 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
4545 |
4646LL | riscv_m();
4747 | ^^^^^^^^^
4848
4949error: 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
5151 |
5252LL | riscv_s();
5353 | ^^^^^^^^^
5454 |
5555note: 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
5757 |
5858LL | riscv_s();
5959 | ^^^^^^^^^
6060
6161error: 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
6363 |
6464LL | f()
6565 | ^^^
6666 |
6767note: 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
6969 |
7070LL | f()
7171 | ^^^
7272
7373error: 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
7575 |
7676LL | f()
7777 | ^^^
7878 |
7979note: 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
8181 |
8282LL | f()
8383 | ^^^
0 commit comments