@@ -40,25 +40,22 @@ error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
4040LL | extern "x86-interrupt" fn x86() {}
4141 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4242
43- warning: use of calling convention not supported on this target
43+ error[E0570]: `"thiscall"` is not a supported ABI for the current target
4444 --> $DIR/unsupported.rs:43:1
4545 |
46- LL | extern "stdcall" fn stdcall() {}
47- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48- |
49- = note: `#[warn(unsupported_calling_conventions)]` on by default
50- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
51- = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
46+ LL | extern "thiscall" fn thiscall() {}
47+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5248
5349warning: use of calling convention not supported on this target
54- --> $DIR/unsupported.rs:50 :1
50+ --> $DIR/unsupported.rs:47 :1
5551 |
56- LL | extern "thiscall " fn thiscall () {}
57- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52+ LL | extern "stdcall " fn stdcall () {}
53+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5854 |
55+ = note: `#[warn(unsupported_calling_conventions)]` on by default
5956 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
6057 = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
6158
62- error: aborting due to 7 previous errors; 2 warnings emitted
59+ error: aborting due to 8 previous errors; 1 warning emitted
6360
6461For more information about this error, try `rustc --explain E0570`.
0 commit comments