os-rust/tests/ui/feature-gates/feature-gate-repr-simd.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
258 B
Rust
Raw Normal View History

#[repr(simd)] //~ error: SIMD types are experimental
2024-08-22 01:28:20 -07:00
struct Foo([u64; 2]);
#[repr(C)] //~ ERROR conflicting representation hints
2020-01-28 00:27:57 +01:00
//~^ WARN this was previously accepted
#[repr(simd)] //~ error: SIMD types are experimental
2024-08-22 01:28:20 -07:00
struct Bar([u64; 2]);
fn main() {}