@@ -15,7 +15,7 @@ LL | extern "ptx-kernel" {}
1515 | ^^^^^^^^^^^^^^^^^^^^^^
1616
1717warning: the calling convention "aapcs" is not supported on this target
18- --> $DIR/unsupported.rs:55 :17
18+ --> $DIR/unsupported.rs:50 :17
1919 |
2020LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
2121 | ^^^^^^^^^^^^^^^^^^^
@@ -24,13 +24,13 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
2424 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
2525
2626error[E0570]: `"aapcs"` is not a supported ABI for the current target
27- --> $DIR/unsupported.rs:70 :1
27+ --> $DIR/unsupported.rs:55 :1
2828 |
2929LL | extern "aapcs" {}
3030 | ^^^^^^^^^^^^^^^^^
3131
3232warning: the calling convention "msp430-interrupt" is not supported on this target
33- --> $DIR/unsupported.rs:80 :18
33+ --> $DIR/unsupported.rs:60 :18
3434 |
3535LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
3636 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -39,13 +39,13 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
3939 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
4040
4141error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
42- --> $DIR/unsupported.rs:85 :1
42+ --> $DIR/unsupported.rs:65 :1
4343 |
4444LL | extern "msp430-interrupt" {}
4545 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4646
4747warning: the calling convention "avr-interrupt" is not supported on this target
48- --> $DIR/unsupported.rs:90 :15
48+ --> $DIR/unsupported.rs:70 :15
4949 |
5050LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
5151 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -54,13 +54,13 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
5454 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
5555
5656error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
57- --> $DIR/unsupported.rs:95 :1
57+ --> $DIR/unsupported.rs:75 :1
5858 |
5959LL | extern "avr-interrupt" {}
6060 | ^^^^^^^^^^^^^^^^^^^^^^^^^
6161
6262warning: the calling convention "riscv-interrupt-m" is not supported on this target
63- --> $DIR/unsupported.rs:104 :17
63+ --> $DIR/unsupported.rs:80 :17
6464 |
6565LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
6666 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -69,13 +69,13 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
6969 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
7070
7171error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
72- --> $DIR/unsupported.rs:117 :1
72+ --> $DIR/unsupported.rs:85 :1
7373 |
7474LL | extern "riscv-interrupt-m" {}
7575 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7676
7777warning: the calling convention "x86-interrupt" is not supported on this target
78- --> $DIR/unsupported.rs:129 :15
78+ --> $DIR/unsupported.rs:90 :15
7979 |
8080LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
8181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -84,13 +84,13 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
8484 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
8585
8686error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
87- --> $DIR/unsupported.rs:140 :1
87+ --> $DIR/unsupported.rs:95 :1
8888 |
8989LL | extern "x86-interrupt" {}
9090 | ^^^^^^^^^^^^^^^^^^^^^^^^^
9191
9292warning: the calling convention "thiscall" is not supported on this target
93- --> $DIR/unsupported.rs:153 :20
93+ --> $DIR/unsupported.rs:100 :20
9494 |
9595LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
9696 | ^^^^^^^^^^^^^^^^^^^^^^
@@ -99,13 +99,13 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
9999 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
100100
101101error[E0570]: `"thiscall"` is not a supported ABI for the current target
102- --> $DIR/unsupported.rs:168 :1
102+ --> $DIR/unsupported.rs:105 :1
103103 |
104104LL | extern "thiscall" {}
105105 | ^^^^^^^^^^^^^^^^^^^^
106106
107107warning: the calling convention "stdcall" is not supported on this target
108- --> $DIR/unsupported.rs:184 :19
108+ --> $DIR/unsupported.rs:112 :19
109109 |
110110LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
111111 | ^^^^^^^^^^^^^^^^^^^^^
@@ -114,13 +114,13 @@ 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:199 :1
117+ --> $DIR/unsupported.rs:117 :1
118118 |
119119LL | extern "stdcall" {}
120120 | ^^^^^^^^^^^^^^^^^^^
121121
122122warning: the calling convention "cdecl" is not supported on this target
123- --> $DIR/unsupported.rs:221 :17
123+ --> $DIR/unsupported.rs:125 :17
124124 |
125125LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
126126 | ^^^^^^^^^^^^^^^^^^^
@@ -129,7 +129,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
129129 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
130130
131131warning: use of calling convention not supported on this target
132- --> $DIR/unsupported.rs:236 :1
132+ --> $DIR/unsupported.rs:130 :1
133133 |
134134LL | extern "cdecl" {}
135135 | ^^^^^^^^^^^^^^^^^
@@ -139,7 +139,7 @@ LL | extern "cdecl" {}
139139 = note: `#[warn(unsupported_calling_conventions)]` on by default
140140
141141warning: the calling convention "vectorcall" is not supported on this target
142- --> $DIR/unsupported.rs:255 :22
142+ --> $DIR/unsupported.rs:136 :22
143143 |
144144LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
145145 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -148,13 +148,13 @@ LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
148148 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
149149
150150error[E0570]: `"vectorcall"` is not a supported ABI for the current target
151- --> $DIR/unsupported.rs:266 :1
151+ --> $DIR/unsupported.rs:141 :1
152152 |
153153LL | extern "vectorcall" {}
154154 | ^^^^^^^^^^^^^^^^^^^^^^
155155
156156warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
157- --> $DIR/unsupported.rs:272 :21
157+ --> $DIR/unsupported.rs:144 :21
158158 |
159159LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
160160 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -163,7 +163,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
163163 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
164164
165165warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
166- --> $DIR/unsupported.rs:280 :22
166+ --> $DIR/unsupported.rs:152 :22
167167 |
168168LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
169169 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -172,7 +172,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
172172 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
173173
174174error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
175- --> $DIR/unsupported.rs:285 :1
175+ --> $DIR/unsupported.rs:157 :1
176176 |
177177LL | extern "C-cmse-nonsecure-entry" {}
178178 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -196,43 +196,43 @@ LL | extern "aapcs" fn aapcs() {}
196196 | ^^^^^^^^^^^^^^^^^^^^^^^^^
197197
198198error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
199- --> $DIR/unsupported.rs:78 :1
199+ --> $DIR/unsupported.rs:58 :1
200200 |
201201LL | extern "msp430-interrupt" fn msp430() {}
202202 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
203203
204204error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
205- --> $DIR/unsupported.rs:88 :1
205+ --> $DIR/unsupported.rs:68 :1
206206 |
207207LL | extern "avr-interrupt" fn avr() {}
208208 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
209209
210210error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
211- --> $DIR/unsupported.rs:98 :1
211+ --> $DIR/unsupported.rs:78 :1
212212 |
213213LL | extern "riscv-interrupt-m" fn riscv() {}
214214 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
215215
216216error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
217- --> $DIR/unsupported.rs:124 :1
217+ --> $DIR/unsupported.rs:88 :1
218218 |
219219LL | extern "x86-interrupt" fn x86() {}
220220 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
221221
222222error[E0570]: `"thiscall"` is not a supported ABI for the current target
223- --> $DIR/unsupported.rs:146 :1
223+ --> $DIR/unsupported.rs:98 :1
224224 |
225225LL | extern "thiscall" fn thiscall() {}
226226 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
227227
228228error[E0570]: `"stdcall"` is not a supported ABI for the current target
229- --> $DIR/unsupported.rs:176 :1
229+ --> $DIR/unsupported.rs:108 :1
230230 |
231231LL | extern "stdcall" fn stdcall() {}
232232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
233233
234234warning: use of calling convention not supported on this target
235- --> $DIR/unsupported.rs:208 :1
235+ --> $DIR/unsupported.rs:122 :1
236236 |
237237LL | extern "cdecl" fn cdecl() {}
238238 | ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -241,13 +241,13 @@ LL | extern "cdecl" fn cdecl() {}
241241 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
242242
243243error[E0570]: `"vectorcall"` is not a supported ABI for the current target
244- --> $DIR/unsupported.rs:250 :1
244+ --> $DIR/unsupported.rs:134 :1
245245 |
246246LL | extern "vectorcall" fn vectorcall() {}
247247 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
248248
249249error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
250- --> $DIR/unsupported.rs:278 :1
250+ --> $DIR/unsupported.rs:150 :1
251251 |
252252LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
253253 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -268,7 +268,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
268268
269269Future breakage diagnostic:
270270warning: the calling convention "aapcs" is not supported on this target
271- --> $DIR/unsupported.rs:55 :17
271+ --> $DIR/unsupported.rs:50 :17
272272 |
273273LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
274274 | ^^^^^^^^^^^^^^^^^^^
@@ -279,7 +279,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
279279
280280Future breakage diagnostic:
281281warning: the calling convention "msp430-interrupt" is not supported on this target
282- --> $DIR/unsupported.rs:80 :18
282+ --> $DIR/unsupported.rs:60 :18
283283 |
284284LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
285285 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -290,7 +290,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
290290
291291Future breakage diagnostic:
292292warning: the calling convention "avr-interrupt" is not supported on this target
293- --> $DIR/unsupported.rs:90 :15
293+ --> $DIR/unsupported.rs:70 :15
294294 |
295295LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
296296 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -301,7 +301,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
301301
302302Future breakage diagnostic:
303303warning: the calling convention "riscv-interrupt-m" is not supported on this target
304- --> $DIR/unsupported.rs:104 :17
304+ --> $DIR/unsupported.rs:80 :17
305305 |
306306LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
307307 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -312,7 +312,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
312312
313313Future breakage diagnostic:
314314warning: the calling convention "x86-interrupt" is not supported on this target
315- --> $DIR/unsupported.rs:129 :15
315+ --> $DIR/unsupported.rs:90 :15
316316 |
317317LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
318318 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -323,7 +323,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
323323
324324Future breakage diagnostic:
325325warning: the calling convention "thiscall" is not supported on this target
326- --> $DIR/unsupported.rs:153 :20
326+ --> $DIR/unsupported.rs:100 :20
327327 |
328328LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
329329 | ^^^^^^^^^^^^^^^^^^^^^^
@@ -334,7 +334,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
334334
335335Future breakage diagnostic:
336336warning: the calling convention "stdcall" is not supported on this target
337- --> $DIR/unsupported.rs:184 :19
337+ --> $DIR/unsupported.rs:112 :19
338338 |
339339LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
340340 | ^^^^^^^^^^^^^^^^^^^^^
@@ -345,7 +345,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
345345
346346Future breakage diagnostic:
347347warning: the calling convention "cdecl" is not supported on this target
348- --> $DIR/unsupported.rs:221 :17
348+ --> $DIR/unsupported.rs:125 :17
349349 |
350350LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
351351 | ^^^^^^^^^^^^^^^^^^^
@@ -356,7 +356,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
356356
357357Future breakage diagnostic:
358358warning: use of calling convention not supported on this target
359- --> $DIR/unsupported.rs:236 :1
359+ --> $DIR/unsupported.rs:130 :1
360360 |
361361LL | extern "cdecl" {}
362362 | ^^^^^^^^^^^^^^^^^
@@ -367,7 +367,7 @@ LL | extern "cdecl" {}
367367
368368Future breakage diagnostic:
369369warning: the calling convention "vectorcall" is not supported on this target
370- --> $DIR/unsupported.rs:255 :22
370+ --> $DIR/unsupported.rs:136 :22
371371 |
372372LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
373373 | ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -378,7 +378,7 @@ LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
378378
379379Future breakage diagnostic:
380380warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
381- --> $DIR/unsupported.rs:272 :21
381+ --> $DIR/unsupported.rs:144 :21
382382 |
383383LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
384384 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -389,7 +389,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
389389
390390Future breakage diagnostic:
391391warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
392- --> $DIR/unsupported.rs:280 :22
392+ --> $DIR/unsupported.rs:152 :22
393393 |
394394LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
395395 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -400,7 +400,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
400400
401401Future breakage diagnostic:
402402warning: use of calling convention not supported on this target
403- --> $DIR/unsupported.rs:208 :1
403+ --> $DIR/unsupported.rs:122 :1
404404 |
405405LL | extern "cdecl" fn cdecl() {}
406406 | ^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments