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