]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/attr-usage-repr.rs
Implement RFC 2645 (transparent enums and unions)
[rust.git] / src / test / ui / attr-usage-repr.rs
index ef64dfe20bc9dc59fec15e6f99b8d626b80ba898..a0b82375e777d02edc058e849374602bef6d8568 100644 (file)
@@ -1,6 +1,6 @@
 #![feature(repr_simd)]
 
-#[repr(C)] //~ ERROR: attribute should be applied to struct, enum or union
+#[repr(C)] //~ ERROR: attribute should be applied to struct, enum, or union
 fn f() {}
 
 #[repr(C)]