granite-rust/src/test/ui/feature-gates/feature-gate-simd-ffi.stderr

19 lines
661 B
Text
Raw Normal View History

error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
--> $DIR/feature-gate-simd-ffi.rs:19:17
|
2018-02-23 03:42:32 +03:00
LL | fn baz() -> LocalSimd; //~ ERROR use of SIMD type
| ^^^^^^^^^
|
= help: add #![feature(simd_ffi)] to the crate attributes to enable
error: use of SIMD type `LocalSimd` in FFI is highly experimental and may result in invalid code
--> $DIR/feature-gate-simd-ffi.rs:20:15
|
2018-02-23 03:42:32 +03:00
LL | fn qux(x: LocalSimd); //~ ERROR use of SIMD type
| ^^^^^^^^^
|
= help: add #![feature(simd_ffi)] to the crate attributes to enable
error: aborting due to 2 previous errors