1
1
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
2
- --> $DIR/simd-abi-checks.rs:55 :11
2
+ --> $DIR/simd-abi-checks.rs:64 :11
3
3
|
4
4
LL | f(g());
5
5
| ^^^ function called here
@@ -10,7 +10,7 @@ LL | f(g());
10
10
= note: `#[warn(abi_unsupported_vector_types)]` on by default
11
11
12
12
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
13
- --> $DIR/simd-abi-checks.rs:55 :9
13
+ --> $DIR/simd-abi-checks.rs:64 :9
14
14
|
15
15
LL | f(g());
16
16
| ^^^^^^ function called here
@@ -20,7 +20,7 @@ LL | f(g());
20
20
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
21
21
22
22
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
23
- --> $DIR/simd-abi-checks.rs:63 :14
23
+ --> $DIR/simd-abi-checks.rs:72 :14
24
24
|
25
25
LL | gavx(favx());
26
26
| ^^^^^^ function called here
@@ -30,7 +30,7 @@ LL | gavx(favx());
30
30
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
31
31
32
32
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
33
- --> $DIR/simd-abi-checks.rs:63 :9
33
+ --> $DIR/simd-abi-checks.rs:72 :9
34
34
|
35
35
LL | gavx(favx());
36
36
| ^^^^^^^^^^^^ function called here
@@ -40,7 +40,7 @@ LL | gavx(favx());
40
40
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
41
41
42
42
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
43
- --> $DIR/simd-abi-checks.rs:75 :19
43
+ --> $DIR/simd-abi-checks.rs:84 :19
44
44
|
45
45
LL | w(Wrapper(g()));
46
46
| ^^^ function called here
@@ -50,7 +50,7 @@ LL | w(Wrapper(g()));
50
50
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
51
51
52
52
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
53
- --> $DIR/simd-abi-checks.rs:75 :9
53
+ --> $DIR/simd-abi-checks.rs:84 :9
54
54
|
55
55
LL | w(Wrapper(g()));
56
56
| ^^^^^^^^^^^^^^^ function called here
@@ -59,8 +59,18 @@ LL | w(Wrapper(g()));
59
59
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
60
60
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
61
61
62
+ warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
63
+ --> $DIR/simd-abi-checks.rs:100:9
64
+ |
65
+ LL | some_extern();
66
+ | ^^^^^^^^^^^^^ function called here
67
+ |
68
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
69
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
70
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
71
+
62
72
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
63
- --> $DIR/simd-abi-checks.rs:26 :1
73
+ --> $DIR/simd-abi-checks.rs:27 :1
64
74
|
65
75
LL | unsafe extern "C" fn g() -> __m256 {
66
76
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -70,7 +80,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
70
80
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
71
81
72
82
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
73
- --> $DIR/simd-abi-checks.rs:20 :1
83
+ --> $DIR/simd-abi-checks.rs:21 :1
74
84
|
75
85
LL | unsafe extern "C" fn f(_: __m256) {
76
86
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -80,7 +90,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
80
90
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
81
91
82
92
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
83
- --> $DIR/simd-abi-checks.rs:14 :1
93
+ --> $DIR/simd-abi-checks.rs:15 :1
84
94
|
85
95
LL | unsafe extern "C" fn w(_: Wrapper) {
86
96
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -89,11 +99,21 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
89
99
= note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
90
100
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
91
101
92
- warning: 9 warnings emitted
102
+ warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
103
+ --> $DIR/simd-abi-checks.rs:57:8
104
+ |
105
+ LL | || g()
106
+ | ^^^ function called here
107
+ |
108
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
109
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
110
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
111
+
112
+ warning: 11 warnings emitted
93
113
94
114
Future incompatibility report: Future breakage diagnostic:
95
115
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
96
- --> $DIR/simd-abi-checks.rs:55 :11
116
+ --> $DIR/simd-abi-checks.rs:64 :11
97
117
|
98
118
LL | f(g());
99
119
| ^^^ function called here
@@ -105,7 +125,7 @@ LL | f(g());
105
125
106
126
Future breakage diagnostic:
107
127
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
108
- --> $DIR/simd-abi-checks.rs:55 :9
128
+ --> $DIR/simd-abi-checks.rs:64 :9
109
129
|
110
130
LL | f(g());
111
131
| ^^^^^^ function called here
@@ -117,7 +137,7 @@ LL | f(g());
117
137
118
138
Future breakage diagnostic:
119
139
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
120
- --> $DIR/simd-abi-checks.rs:63 :14
140
+ --> $DIR/simd-abi-checks.rs:72 :14
121
141
|
122
142
LL | gavx(favx());
123
143
| ^^^^^^ function called here
@@ -129,7 +149,7 @@ LL | gavx(favx());
129
149
130
150
Future breakage diagnostic:
131
151
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
132
- --> $DIR/simd-abi-checks.rs:63 :9
152
+ --> $DIR/simd-abi-checks.rs:72 :9
133
153
|
134
154
LL | gavx(favx());
135
155
| ^^^^^^^^^^^^ function called here
@@ -141,7 +161,7 @@ LL | gavx(favx());
141
161
142
162
Future breakage diagnostic:
143
163
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
144
- --> $DIR/simd-abi-checks.rs:75 :19
164
+ --> $DIR/simd-abi-checks.rs:84 :19
145
165
|
146
166
LL | w(Wrapper(g()));
147
167
| ^^^ function called here
@@ -153,7 +173,7 @@ LL | w(Wrapper(g()));
153
173
154
174
Future breakage diagnostic:
155
175
warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
156
- --> $DIR/simd-abi-checks.rs:75 :9
176
+ --> $DIR/simd-abi-checks.rs:84 :9
157
177
|
158
178
LL | w(Wrapper(g()));
159
179
| ^^^^^^^^^^^^^^^ function called here
@@ -163,9 +183,21 @@ LL | w(Wrapper(g()));
163
183
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
164
184
= note: `#[warn(abi_unsupported_vector_types)]` on by default
165
185
186
+ Future breakage diagnostic:
187
+ warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
188
+ --> $DIR/simd-abi-checks.rs:100:9
189
+ |
190
+ LL | some_extern();
191
+ | ^^^^^^^^^^^^^ function called here
192
+ |
193
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
194
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
195
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
196
+ = note: `#[warn(abi_unsupported_vector_types)]` on by default
197
+
166
198
Future breakage diagnostic:
167
199
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
168
- --> $DIR/simd-abi-checks.rs:26 :1
200
+ --> $DIR/simd-abi-checks.rs:27 :1
169
201
|
170
202
LL | unsafe extern "C" fn g() -> __m256 {
171
203
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -177,7 +209,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
177
209
178
210
Future breakage diagnostic:
179
211
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
180
- --> $DIR/simd-abi-checks.rs:20 :1
212
+ --> $DIR/simd-abi-checks.rs:21 :1
181
213
|
182
214
LL | unsafe extern "C" fn f(_: __m256) {
183
215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -189,7 +221,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
189
221
190
222
Future breakage diagnostic:
191
223
warning: this function definition uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled
192
- --> $DIR/simd-abi-checks.rs:14 :1
224
+ --> $DIR/simd-abi-checks.rs:15 :1
193
225
|
194
226
LL | unsafe extern "C" fn w(_: Wrapper) {
195
227
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -199,3 +231,15 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
199
231
= help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
200
232
= note: `#[warn(abi_unsupported_vector_types)]` on by default
201
233
234
+ Future breakage diagnostic:
235
+ warning: this function call uses a SIMD vector type that (with the chosen ABI) requires the `avx` target feature, which is not enabled in the caller
236
+ --> $DIR/simd-abi-checks.rs:57:8
237
+ |
238
+ LL | || g()
239
+ | ^^^ function called here
240
+ |
241
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
242
+ = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
243
+ = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
244
+ = note: `#[warn(abi_unsupported_vector_types)]` on by default
245
+
0 commit comments