diff --git a/protobuf/src/reflect/enums.rs b/protobuf/src/reflect/enums.rs index a40819a8f..a447497b7 100644 --- a/protobuf/src/reflect/enums.rs +++ b/protobuf/src/reflect/enums.rs @@ -7,7 +7,7 @@ use descriptorx::find_enum_by_rust_name; /// Description for enum variant. /// /// Used in reflection. -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct EnumValueDescriptor { proto: &'static EnumValueDescriptorProto, } diff --git a/protobuf/src/reflect/value.rs b/protobuf/src/reflect/value.rs index ae31390dc..2f7a3b838 100644 --- a/protobuf/src/reflect/value.rs +++ b/protobuf/src/reflect/value.rs @@ -137,6 +137,7 @@ impl ProtobufValue for M { */ /// A reference to a value +#[derive(Debug)] pub enum ReflectValueRef<'a> { /// `u32` U32(u32),