@@ -204,6 +204,30 @@ error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current
204204LL | extern "C-cmse-nonsecure-entry" {}
205205 | ^^^^^^^^^^^^^^^^^^^^^^^^
206206
207+ error[E0570]: `"thiscall"` is not a supported ABI for the current target
208+ --> $DIR/unsupported.rs:165:17
209+ |
210+ LL | ptr: extern "thiscall" fn(),
211+ | ^^^^^^^^^^
212+
213+ error[E0570]: `"thiscall"` is not a supported ABI for the current target
214+ --> $DIR/unsupported.rs:170:16
215+ |
216+ LL | pub extern "thiscall" fn inherent_fn(self) {
217+ | ^^^^^^^^^^
218+
219+ error[E0570]: `"thiscall"` is not a supported ABI for the current target
220+ --> $DIR/unsupported.rs:177:12
221+ |
222+ LL | extern "thiscall" fn trait_fn(self);
223+ | ^^^^^^^^^^
224+
225+ error[E0570]: `"thiscall"` is not a supported ABI for the current target
226+ --> $DIR/unsupported.rs:182:12
227+ |
228+ LL | extern "thiscall" fn trait_fn(self) {
229+ | ^^^^^^^^^^
230+
207231warning: use of calling convention not supported on this target
208232 --> $DIR/unsupported.rs:123:17
209233 |
@@ -245,7 +269,7 @@ LL | extern "cdecl" fn cdecl() {}
245269 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
246270 = help: use `extern "C"` instead
247271
248- error: aborting due to 33 previous errors; 4 warnings emitted
272+ error: aborting due to 37 previous errors; 4 warnings emitted
249273
250274For more information about this error, try `rustc --explain E0570`.
251275Future incompatibility report: Future breakage diagnostic:
0 commit comments