]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-simd-ffi.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / feature-gates / feature-gate-simd-ffi.stderr
1 error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
2   --> $DIR/feature-gate-simd-ffi.rs:19:17
3    |
4 LL |     fn baz() -> LocalSimd; //~ ERROR use of SIMD type
5    |                 ^^^^^^^^^
6    |
7    = help: add #![feature(simd_ffi)] to the crate attributes to enable
8
9 error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
10   --> $DIR/feature-gate-simd-ffi.rs:20:15
11    |
12 LL |     fn qux(x: LocalSimd); //~ ERROR use of SIMD type
13    |               ^^^^^^^^^
14    |
15    = help: add #![feature(simd_ffi)] to the crate attributes to enable
16
17 error: aborting due to 2 previous errors
18