]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-repr-simd.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-repr-simd.rs
1 #[repr(simd)] //~ error: SIMD types are experimental
2 struct Foo(u64, u64);
3
4 #[repr(C)] //~ ERROR conflicting representation hints
5 //~^ WARN this was previously accepted
6 #[repr(simd)] //~ error: SIMD types are experimental
7 struct Bar(u64, u64);
8
9 fn main() {}