@@ -114,43 +114,44 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
114
114
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
115
115
116
116
error[E0570]: `"stdcall"` is not a supported ABI for the current target
117
- --> $DIR/unsupported.rs:117 :1
117
+ --> $DIR/unsupported.rs:119 :1
118
118
|
119
119
LL | extern "stdcall" {}
120
120
| ^^^^^^^^^^^^^^^^^^^
121
121
|
122
122
= help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
123
123
124
124
error[E0570]: `"stdcall-unwind"` is not a supported ABI for the current target
125
- --> $DIR/unsupported.rs:121 :1
125
+ --> $DIR/unsupported.rs:123 :1
126
126
|
127
127
LL | extern "stdcall-unwind" {}
128
128
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
129
129
|
130
130
= help: if you need `extern "stdcall-unwind"` on win32 and `extern "C-unwind"` everywhere else, use `extern "system-unwind"`
131
131
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
134
134
|
135
135
LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
136
136
| ^^^^^^^^^^^^^^^^^^^
137
137
|
138
138
= 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
140
142
141
143
warning: use of calling convention not supported on this target
142
- --> $DIR/unsupported.rs:134 :1
144
+ --> $DIR/unsupported.rs:136 :1
143
145
|
144
146
LL | extern "cdecl" {}
145
147
| ^^^^^^^^^^^^^^^^^
146
148
|
147
149
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
148
150
= note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
149
151
= help: use `extern "C"` instead
150
- = note: `#[warn(unsupported_calling_conventions)]` on by default
151
152
152
153
warning: use of calling convention not supported on this target
153
- --> $DIR/unsupported.rs:137 :1
154
+ --> $DIR/unsupported.rs:139 :1
154
155
|
155
156
LL | extern "cdecl-unwind" {}
156
157
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -160,7 +161,7 @@ LL | extern "cdecl-unwind" {}
160
161
= help: use `extern "C-unwind"` instead
161
162
162
163
warning: the calling convention "vectorcall" is not supported on this target
163
- --> $DIR/unsupported.rs:143 :22
164
+ --> $DIR/unsupported.rs:145 :22
164
165
|
165
166
LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
166
167
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -169,13 +170,13 @@ LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
169
170
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
170
171
171
172
error[E0570]: `"vectorcall"` is not a supported ABI for the current target
172
- --> $DIR/unsupported.rs:148 :1
173
+ --> $DIR/unsupported.rs:150 :1
173
174
|
174
175
LL | extern "vectorcall" {}
175
176
| ^^^^^^^^^^^^^^^^^^^^^^
176
177
177
178
warning: 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
179
180
|
180
181
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
181
182
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -184,7 +185,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
184
185
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
185
186
186
187
warning: 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
188
189
|
189
190
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
190
191
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -193,7 +194,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
193
194
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
194
195
195
196
error[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
197
198
|
198
199
LL | extern "C-cmse-nonsecure-entry" {}
199
200
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -255,7 +256,7 @@ LL | extern "stdcall" fn stdcall() {}
255
256
= help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
256
257
257
258
warning: use of calling convention not supported on this target
258
- --> $DIR/unsupported.rs:126 :1
259
+ --> $DIR/unsupported.rs:128 :1
259
260
|
260
261
LL | extern "cdecl" fn cdecl() {}
261
262
| ^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -265,13 +266,13 @@ LL | extern "cdecl" fn cdecl() {}
265
266
= help: use `extern "C"` instead
266
267
267
268
error[E0570]: `"vectorcall"` is not a supported ABI for the current target
268
- --> $DIR/unsupported.rs:141 :1
269
+ --> $DIR/unsupported.rs:143 :1
269
270
|
270
271
LL | extern "vectorcall" fn vectorcall() {}
271
272
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
272
273
273
274
error[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
275
276
|
276
277
LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
277
278
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -368,19 +369,20 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
368
369
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
369
370
370
371
Future 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
373
374
|
374
375
LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
375
376
| ^^^^^^^^^^^^^^^^^^^
376
377
|
377
378
= 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
380
382
381
383
Future breakage diagnostic:
382
384
warning: use of calling convention not supported on this target
383
- --> $DIR/unsupported.rs:134 :1
385
+ --> $DIR/unsupported.rs:136 :1
384
386
|
385
387
LL | extern "cdecl" {}
386
388
| ^^^^^^^^^^^^^^^^^
@@ -392,7 +394,7 @@ LL | extern "cdecl" {}
392
394
393
395
Future breakage diagnostic:
394
396
warning: use of calling convention not supported on this target
395
- --> $DIR/unsupported.rs:137 :1
397
+ --> $DIR/unsupported.rs:139 :1
396
398
|
397
399
LL | extern "cdecl-unwind" {}
398
400
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -404,7 +406,7 @@ LL | extern "cdecl-unwind" {}
404
406
405
407
Future breakage diagnostic:
406
408
warning: the calling convention "vectorcall" is not supported on this target
407
- --> $DIR/unsupported.rs:143 :22
409
+ --> $DIR/unsupported.rs:145 :22
408
410
|
409
411
LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
410
412
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -415,7 +417,7 @@ LL | fn vectorcall_ptr(f: extern "vectorcall" fn()) {
415
417
416
418
Future breakage diagnostic:
417
419
warning: 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
419
421
|
420
422
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
421
423
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -426,7 +428,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
426
428
427
429
Future breakage diagnostic:
428
430
warning: 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
430
432
|
431
433
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
432
434
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -437,7 +439,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
437
439
438
440
Future breakage diagnostic:
439
441
warning: use of calling convention not supported on this target
440
- --> $DIR/unsupported.rs:126 :1
442
+ --> $DIR/unsupported.rs:128 :1
441
443
|
442
444
LL | extern "cdecl" fn cdecl() {}
443
445
| ^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments