]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/packed/packed-tuple-struct-layout.rs
Rollup merge of #105419 - YC:issue-41731, r=petrochenkov
[rust.git] / src / test / ui / packed / packed-tuple-struct-layout.rs
index b88637fbe5658d2a6d2795f7e69949daae6e6650..931be5b941443420854d3f89a9316d8f42ae7af3 100644 (file)
@@ -2,9 +2,11 @@
 use std::mem;
 
 #[repr(packed)]
+#[allow(unused_tuple_struct_fields)]
 struct S4(u8,[u8; 3]);
 
 #[repr(packed)]
+#[allow(unused_tuple_struct_fields)]
 struct S5(u8,u32);
 
 pub fn main() {