summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_struct.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_struct.rs b/tests/test_struct.rs
index 9f0625b4..47e165f1 100644
--- a/tests/test_struct.rs
+++ b/tests/test_struct.rs
@@ -74,8 +74,7 @@ fn with_anon_union() {
fn default() -> Self { unsafe { ::std::mem::zeroed() } }
}
#[repr(C)]
- #[derive(Copy)]
- #[derive(Debug)]
+ #[derive(Copy, Clone, Debug)]
pub struct Union_unnamed1 {
pub _bindgen_data_: [u32; 1usize],
}