@@ -105,26 +105,22 @@ LL | extern "thiscall" {}
105105 | ^^^^^^^^^^^^^^^^^^^^
106106
107107warning: the calling convention "stdcall" is not supported on this target
108- --> $DIR/unsupported.rs:170 :19
108+ --> $DIR/unsupported.rs:165 :19
109109 |
110110LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
111111 | ^^^^^^^^^^^^^^^^^^^^^
112112 |
113113 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
114114 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
115115
116- warning: use of calling convention not supported on this target
117- --> $DIR/unsupported.rs:183 :1
116+ error[E0570]: `"stdcall"` is not a supported ABI for the current target
117+ --> $DIR/unsupported.rs:178 :1
118118 |
119119LL | extern "stdcall" {}
120120 | ^^^^^^^^^^^^^^^^^^^
121- |
122- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
123- = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
124- = note: `#[warn(unsupported_calling_conventions)]` on by default
125121
126122warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
127- --> $DIR/unsupported.rs:195 :21
123+ --> $DIR/unsupported.rs:185 :21
128124 |
129125LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
130126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -133,7 +129,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
133129 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
134130
135131warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
136- --> $DIR/unsupported.rs:203 :22
132+ --> $DIR/unsupported.rs:193 :22
137133 |
138134LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
139135 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -142,7 +138,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
142138 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
143139
144140error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
145- --> $DIR/unsupported.rs:208 :1
141+ --> $DIR/unsupported.rs:198 :1
146142 |
147143LL | extern "C-cmse-nonsecure-entry" {}
148144 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -189,21 +185,18 @@ error[E0570]: `"thiscall"` is not a supported ABI for the current target
189185LL | extern "thiscall" fn thiscall() {}
190186 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
191187
192- warning: use of calling convention not supported on this target
188+ error[E0570]: `"stdcall"` is not a supported ABI for the current target
193189 --> $DIR/unsupported.rs:159:1
194190 |
195191LL | extern "stdcall" fn stdcall() {}
196192 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
197- |
198- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
199- = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
200193
201194error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
202- --> $DIR/unsupported.rs:201 :1
195+ --> $DIR/unsupported.rs:191 :1
203196 |
204197LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
205198 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206199
207- error: aborting due to 16 previous errors; 12 warnings emitted
200+ error: aborting due to 18 previous errors; 10 warnings emitted
208201
209202For more information about this error, try `rustc --explain E0570`.
0 commit comments