diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-03-17 02:01:29 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-03-17 02:01:29 +0100 |
commit | f38c4c5ccd9e32a01c1e5b7566c958768acc9725 (patch) | |
tree | dbb188b9563ccfba1f5a03ac5e0562625b00d913 /tests/test_struct.rs | |
parent | 73463c5c2179ff0d61102f70e9a2b09777a7401b (diff) |
Fix test_struct::with_anon_struct_pointer
Diffstat (limited to 'tests/test_struct.rs')
-rw-r--r-- | tests/test_struct.rs | 3 |
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], } |