@@ -114,43 +114,44 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
114114   = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
115115
116116error[E0570]: `"stdcall"` is not a supported ABI for the current target
117-   --> $DIR/unsupported.rs:117 :1
117+   --> $DIR/unsupported.rs:119 :1
118118   |
119119LL | extern "stdcall" {}
120120   | ^^^^^^^^^^^^^^^^^^^
121121   |
122122   = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
123123
124124error[E0570]: `"stdcall-unwind"` is not a supported ABI for the current target
125-   --> $DIR/unsupported.rs:121 :1
125+   --> $DIR/unsupported.rs:123 :1
126126   |
127127LL | extern "stdcall-unwind" {}
128128   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
129129   |
130130   = help: if you need `extern "stdcall-unwind"` on win32 and `extern "C-unwind"` everywhere else, use `extern "system-unwind"`
131131
132- warning: the  calling convention "cdecl" is  not supported on this target
133-   --> $DIR/unsupported.rs:129 :17
132+ warning: use of  calling convention not supported on this target
133+   --> $DIR/unsupported.rs:131 :17
134134   |
135135LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
136136   |                 ^^^^^^^^^^^^^^^^^^^
137137   |
138138   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
139-    = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
139+    = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
140+    = help: use `extern "C"` instead
141+    = note: `#[warn(unsupported_calling_conventions)]` on by default
140142
141143warning: use of calling convention not supported on this target
142-   --> $DIR/unsupported.rs:134 :1
144+   --> $DIR/unsupported.rs:136 :1
143145   |
144146LL | extern "cdecl" {}
145147   | ^^^^^^^^^^^^^^^^^
146148   |
147149   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
148150   = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
149151   = help: use `extern "C"` instead
150-    = note: `#[warn(unsupported_calling_conventions)]` on by default
151152
152153warning: use of calling convention not supported on this target
153-   --> $DIR/unsupported.rs:137 :1
154+   --> $DIR/unsupported.rs:139 :1
154155   |
155156LL | extern "cdecl-unwind" {}
156157   | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -160,7 +161,7 @@ LL | extern "cdecl-unwind" {}
160161   = help: use `extern "C-unwind"` instead
161162
162163warning: the calling convention "vectorcall" is not supported on this target
163-   --> $DIR/unsupported.rs:143 :22
164+   --> $DIR/unsupported.rs:145 :22
164165   |
165166LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
166167   |                      ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -169,13 +170,13 @@ LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
169170   = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
170171
171172error[E0570]: `"vectorcall"` is not a supported ABI for the current target
172-   --> $DIR/unsupported.rs:148 :1
173+   --> $DIR/unsupported.rs:150 :1
173174   |
174175LL | extern "vectorcall" {}
175176   | ^^^^^^^^^^^^^^^^^^^^^^
176177
177178warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
178-   --> $DIR/unsupported.rs:151 :21
179+   --> $DIR/unsupported.rs:153 :21
179180   |
180181LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
181182   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -184,7 +185,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
184185   = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
185186
186187warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
187-   --> $DIR/unsupported.rs:159 :22
188+   --> $DIR/unsupported.rs:161 :22
188189   |
189190LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
190191   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -193,7 +194,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
193194   = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
194195
195196error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
196-   --> $DIR/unsupported.rs:164 :1
197+   --> $DIR/unsupported.rs:166 :1
197198   |
198199LL | extern "C-cmse-nonsecure-entry" {}
199200   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -255,7 +256,7 @@ LL | extern "stdcall" fn stdcall() {}
255256   = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
256257
257258warning: use of calling convention not supported on this target
258-   --> $DIR/unsupported.rs:126 :1
259+   --> $DIR/unsupported.rs:128 :1
259260   |
260261LL | extern "cdecl" fn cdecl() {}
261262   | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -265,13 +266,13 @@ LL | extern "cdecl" fn cdecl() {}
265266   = help: use `extern "C"` instead
266267
267268error[E0570]: `"vectorcall"` is not a supported ABI for the current target
268-   --> $DIR/unsupported.rs:141 :1
269+   --> $DIR/unsupported.rs:143 :1
269270   |
270271LL | extern "vectorcall" fn vectorcall() {}
271272   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
272273
273274error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
274-   --> $DIR/unsupported.rs:157 :1
275+   --> $DIR/unsupported.rs:159 :1
275276   |
276277LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
277278   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -368,19 +369,20 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
368369   = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
369370
370371Future breakage diagnostic:
371- warning: the  calling convention "cdecl" is  not supported on this target
372-   --> $DIR/unsupported.rs:129 :17
372+ warning: use of  calling convention not supported on this target
373+   --> $DIR/unsupported.rs:131 :17
373374   |
374375LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
375376   |                 ^^^^^^^^^^^^^^^^^^^
376377   |
377378   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
378-    = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
379-    = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
379+    = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
380+    = help: use `extern "C"` instead
381+    = note: `#[warn(unsupported_calling_conventions)]` on by default
380382
381383Future breakage diagnostic:
382384warning: use of calling convention not supported on this target
383-   --> $DIR/unsupported.rs:134 :1
385+   --> $DIR/unsupported.rs:136 :1
384386   |
385387LL | extern "cdecl" {}
386388   | ^^^^^^^^^^^^^^^^^
@@ -392,7 +394,7 @@ LL | extern "cdecl" {}
392394
393395Future breakage diagnostic:
394396warning: use of calling convention not supported on this target
395-   --> $DIR/unsupported.rs:137 :1
397+   --> $DIR/unsupported.rs:139 :1
396398   |
397399LL | extern "cdecl-unwind" {}
398400   | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -404,7 +406,7 @@ LL | extern "cdecl-unwind" {}
404406
405407Future breakage diagnostic:
406408warning: the calling convention "vectorcall" is not supported on this target
407-   --> $DIR/unsupported.rs:143 :22
409+   --> $DIR/unsupported.rs:145 :22
408410   |
409411LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
410412   |                      ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -415,7 +417,7 @@ LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
415417
416418Future breakage diagnostic:
417419warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
418-   --> $DIR/unsupported.rs:151 :21
420+   --> $DIR/unsupported.rs:153 :21
419421   |
420422LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
421423   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -426,7 +428,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
426428
427429Future breakage diagnostic:
428430warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
429-   --> $DIR/unsupported.rs:159 :22
431+   --> $DIR/unsupported.rs:161 :22
430432   |
431433LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
432434   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -437,7 +439,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
437439
438440Future breakage diagnostic:
439441warning: use of calling convention not supported on this target
440-   --> $DIR/unsupported.rs:126 :1
442+   --> $DIR/unsupported.rs:128 :1
441443   |
442444LL | extern "cdecl" fn cdecl() {}
443445   | ^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments