diff options
Diffstat (limited to 'tests/generated/packet_decl_parent_with_no_payload_little_endian.rs')
-rw-r--r-- | tests/generated/packet_decl_parent_with_no_payload_little_endian.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/generated/packet_decl_parent_with_no_payload_little_endian.rs b/tests/generated/packet_decl_parent_with_no_payload_little_endian.rs index 4f58e26..82c45c5 100644 --- a/tests/generated/packet_decl_parent_with_no_payload_little_endian.rs +++ b/tests/generated/packet_decl_parent_with_no_payload_little_endian.rs @@ -160,10 +160,10 @@ impl ParentData { }); } let v = Enum8::try_from(bytes.get_mut().get_u8()) - .map_err(|_| Error::InvalidEnumValueError { + .map_err(|unknown_val| Error::InvalidEnumValueError { obj: "Parent".to_string(), field: "v".to_string(), - value: bytes.get_mut().get_u8() as u64, + value: unknown_val as u64, type_: "Enum8".to_string(), })?; let payload: &[u8] = &[]; |