11warning: 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
33   |
44LL |         f(g());
55   |           ^^^ function called here
@@ -10,7 +10,7 @@ LL |         f(g());
1010   = note: `#[warn(abi_unsupported_vector_types)]` on by default
1111
1212warning: 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
1414   |
1515LL |         f(g());
1616   |         ^^^^^^ function called here
@@ -20,7 +20,7 @@ LL |         f(g());
2020   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
2121
2222warning: 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
2424   |
2525LL |         gavx(favx());
2626   |              ^^^^^^ function called here
@@ -30,7 +30,7 @@ LL |         gavx(favx());
3030   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
3131
3232warning: 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
3434   |
3535LL |         gavx(favx());
3636   |         ^^^^^^^^^^^^ function called here
@@ -40,7 +40,7 @@ LL |         gavx(favx());
4040   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
4141
4242warning: 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
4444   |
4545LL |         w(Wrapper(g()));
4646   |                   ^^^ function called here
@@ -50,7 +50,7 @@ LL |         w(Wrapper(g()));
5050   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
5151
5252warning: 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
5454   |
5555LL |         w(Wrapper(g()));
5656   |         ^^^^^^^^^^^^^^^ function called here
@@ -59,8 +59,18 @@ LL |         w(Wrapper(g()));
5959   = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
6060   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
6161
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+ 
6272warning: 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
6474   |
6575LL | unsafe extern "C" fn g() -> __m256 {
6676   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -70,7 +80,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
7080   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
7181
7282warning: 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
7484   |
7585LL | unsafe extern "C" fn f(_: __m256) {
7686   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -80,7 +90,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
8090   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
8191
8292warning: 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
8494   |
8595LL | unsafe extern "C" fn w(_: Wrapper) {
8696   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -89,11 +99,21 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
8999   = note: for more information, see issue #116558 <https://github.com/rust-lang/rust/issues/116558>
90100   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
91101
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
93113
94114Future incompatibility report: Future breakage diagnostic:
95115warning: 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
97117   |
98118LL |         f(g());
99119   |           ^^^ function called here
@@ -105,7 +125,7 @@ LL |         f(g());
105125
106126Future breakage diagnostic:
107127warning: 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
109129   |
110130LL |         f(g());
111131   |         ^^^^^^ function called here
@@ -117,7 +137,7 @@ LL |         f(g());
117137
118138Future breakage diagnostic:
119139warning: 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
121141   |
122142LL |         gavx(favx());
123143   |              ^^^^^^ function called here
@@ -129,7 +149,7 @@ LL |         gavx(favx());
129149
130150Future breakage diagnostic:
131151warning: 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
133153   |
134154LL |         gavx(favx());
135155   |         ^^^^^^^^^^^^ function called here
@@ -141,7 +161,7 @@ LL |         gavx(favx());
141161
142162Future breakage diagnostic:
143163warning: 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
145165   |
146166LL |         w(Wrapper(g()));
147167   |                   ^^^ function called here
@@ -153,7 +173,7 @@ LL |         w(Wrapper(g()));
153173
154174Future breakage diagnostic:
155175warning: 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
157177   |
158178LL |         w(Wrapper(g()));
159179   |         ^^^^^^^^^^^^^^^ function called here
@@ -163,9 +183,21 @@ LL |         w(Wrapper(g()));
163183   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
164184   = note: `#[warn(abi_unsupported_vector_types)]` on by default
165185
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+ 
166198Future breakage diagnostic:
167199warning: 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
169201   |
170202LL | unsafe extern "C" fn g() -> __m256 {
171203   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -177,7 +209,7 @@ LL | unsafe extern "C" fn g() -> __m256 {
177209
178210Future breakage diagnostic:
179211warning: 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
181213   |
182214LL | unsafe extern "C" fn f(_: __m256) {
183215   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -189,7 +221,7 @@ LL | unsafe extern "C" fn f(_: __m256) {
189221
190222Future breakage diagnostic:
191223warning: 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
193225   |
194226LL | unsafe extern "C" fn w(_: Wrapper) {
195227   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function defined here
@@ -199,3 +231,15 @@ LL | unsafe extern "C" fn w(_: Wrapper) {
199231   = help: consider enabling it globally (`-C target-feature=+avx`) or locally (`#[target_feature(enable="avx")]`)
200232   = note: `#[warn(abi_unsupported_vector_types)]` on by default
201233
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