]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/feature-gate-repr_align.rs
feature error span on attr. for fn_must_use, SIMD/align, macro reƫxport
[rust.git] / src / test / compile-fail / feature-gate-repr_align.rs
index 8e986e197f2694d9113949cac7046f6117c5d880..9591d367a2d191ef99a2e92476c602dc28184a10 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 #![feature(attr_literals)]
 
-#[repr(align(64))]
-struct Foo(u64, u64); //~ error: the struct `#[repr(align(u16))]` attribute is experimental
+#[repr(align(64))] //~ error: the struct `#[repr(align(u16))]` attribute is experimental
+struct Foo(u64, u64);
 
 fn main() {}