@@ -105,26 +105,22 @@ LL | extern "thiscall" {}
105
105
| ^^^^^^^^^^^^^^^^^^^^
106
106
107
107
warning: the calling convention "stdcall" is not supported on this target
108
- --> $DIR/unsupported.rs:170 :19
108
+ --> $DIR/unsupported.rs:165 :19
109
109
|
110
110
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
111
111
| ^^^^^^^^^^^^^^^^^^^^^
112
112
|
113
113
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
114
114
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
115
115
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
118
118
|
119
119
LL | extern "stdcall" {}
120
120
| ^^^^^^^^^^^^^^^^^^^
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
125
121
126
122
warning: 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
128
124
|
129
125
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
130
126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -133,7 +129,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
133
129
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
134
130
135
131
warning: 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
137
133
|
138
134
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
139
135
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -142,7 +138,7 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
142
138
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
143
139
144
140
error[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
146
142
|
147
143
LL | extern "C-cmse-nonsecure-entry" {}
148
144
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -189,21 +185,18 @@ error[E0570]: `"thiscall"` is not a supported ABI for the current target
189
185
LL | extern "thiscall" fn thiscall() {}
190
186
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
191
187
192
- warning: use of calling convention not supported on this target
188
+ error[E0570]: `"stdcall"` is not a supported ABI for the current target
193
189
--> $DIR/unsupported.rs:159:1
194
190
|
195
191
LL | extern "stdcall" fn stdcall() {}
196
192
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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>
200
193
201
194
error[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
203
196
|
204
197
LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
205
198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206
199
207
- error: aborting due to 16 previous errors; 12 warnings emitted
200
+ error: aborting due to 18 previous errors; 10 warnings emitted
208
201
209
202
For more information about this error, try `rustc --explain E0570`.
0 commit comments