]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_error_codes/src/error_codes/E0076.md
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / compiler / rustc_error_codes / src / error_codes / E0076.md
index f293a2a5772db90a5c62caac983445ee1750bd78..1da8caa9506d7e3b8ffb52ba65ceeed3e8d5ac8c 100644 (file)
@@ -7,7 +7,7 @@ Erroneous code example:
 #![feature(repr_simd)]
 
 #[repr(simd)]
-struct Bad(u16, u32, u32); // error!
+struct Bad(u16, u32, u32 u32); // error!
 ```
 
 When using the `#[simd]` attribute to automatically use SIMD operations in tuple
@@ -20,5 +20,5 @@ Fixed example:
 #![feature(repr_simd)]
 
 #[repr(simd)]
-struct Good(u32, u32, u32); // ok!
+struct Good(u32, u32, u32, u32); // ok!
 ```