future-incompat: use of SIMD types aren't gated properly #87438
Labels
A-FFI
Area: Foreign function interface (FFI)
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
C-bug
Category: This is a bug.
F-simd_ffi
`#![feature(simd_ffi)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
(Splitting from https://github.com/rust-lang/rust/pull/59238/files/8477a04a72a6f8e0adb46be91a2628b07648c200#r266976217)
Consider the following (playground):
which produces the following error (correctly):
But when we use it on struct (playground):
it just compiles fine on stable Rust, while we should gate it. We should eventually disallow it through a future incompat lint.
The text was updated successfully, but these errors were encountered: