]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-simd-ffi.stderr
parser will not give wrong help message for 'public'
[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:9:17
3    |
4 LL |     fn baz() -> LocalSimd;
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:10:15
11    |
12 LL |     fn qux(x: LocalSimd);
13    |               ^^^^^^^^^
14    |
15    = help: add `#![feature(simd_ffi)]` to the crate attributes to enable
16
17 error: aborting due to 2 previous errors
18