]> git.lizzy.rs Git - rust.git/blob - tests/ui/abi/unsupported.x64.stderr
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / ui / abi / unsupported.x64.stderr
1 error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
2   --> $DIR/unsupported.rs:26:1
3    |
4 LL | extern "ptx-kernel" fn ptx() {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
8   --> $DIR/unsupported.rs:28:1
9    |
10 LL | extern "amdgpu-kernel" fn amdgpu() {}
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0570]: `"wasm"` is not a supported ABI for the current target
14   --> $DIR/unsupported.rs:30:1
15    |
16 LL | extern "wasm" fn wasm() {}
17    | ^^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0570]: `"aapcs"` is not a supported ABI for the current target
20   --> $DIR/unsupported.rs:32:1
21    |
22 LL | extern "aapcs" fn aapcs() {}
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
26   --> $DIR/unsupported.rs:36:1
27    |
28 LL | extern "msp430-interrupt" fn msp430() {}
29    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
32   --> $DIR/unsupported.rs:38:1
33    |
34 LL | extern "avr-interrupt" fn avr() {}
35    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37 error[E0570]: `"thiscall"` is not a supported ABI for the current target
38   --> $DIR/unsupported.rs:43:1
39    |
40 LL | extern "thiscall" fn thiscall() {}
41    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 warning: use of calling convention not supported on this target
44   --> $DIR/unsupported.rs:47:1
45    |
46 LL | extern "stdcall" fn stdcall() {}
47    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48    |
49    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
50    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
51    = note: `#[warn(unsupported_calling_conventions)]` on by default
52
53 error: aborting due to 7 previous errors; 1 warning emitted
54
55 For more information about this error, try `rustc --explain E0570`.