summaryrefslogtreecommitdiff
path: root/tests/expectations/class_with_inner_struct.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-04-30 16:58:38 +0200
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-04-30 16:59:07 +0200
commit9f78ea9c83b04dbf1b4ee5c11882ab5c878f7f90 (patch)
tree9990c6559c417f88aa43c806e8c735c44444e8c0 /tests/expectations/class_with_inner_struct.rs
parent759f506e9d58cf7a9f5ef4859dcf2b22b6efa0bc (diff)
gen: Derive Eq, PartialEq and Hash for enums.
Diffstat (limited to 'tests/expectations/class_with_inner_struct.rs')
-rw-r--r--tests/expectations/class_with_inner_struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expectations/class_with_inner_struct.rs b/tests/expectations/class_with_inner_struct.rs
index 85954397..b8dbf3ac 100644
--- a/tests/expectations/class_with_inner_struct.rs
+++ b/tests/expectations/class_with_inner_struct.rs
@@ -124,7 +124,7 @@ fn bindgen_test_layout_Struct_B() {
assert_eq!(::std::mem::align_of::<Struct_B>() , 4usize);
}
#[repr(i32)]
-#[derive(Debug, Copy, Clone)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
pub enum Enum_StepSyntax {
Keyword = 0,
FunctionalWithoutKeyword = 1,