From fd29f21eed5956753c32123790923d628bf61f5f Mon Sep 17 00:00:00 2001 From: YangKeao Date: Thu, 15 Dec 2022 17:59:58 +0800 Subject: [PATCH 1/2] update prost file Signed-off-by: YangKeao --- proto/perftools.profiles.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/proto/perftools.profiles.rs b/proto/perftools.profiles.rs index 3d3e432e..22453330 100644 --- a/proto/perftools.profiles.rs +++ b/proto/perftools.profiles.rs @@ -1,5 +1,6 @@ // f9f855b960d01b292a3c2642e263e6156d52631e78e0177fe51416ed5bbecc81 proto/profile.proto +#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Profile { /// A description of the samples associated with each Sample.value. @@ -65,6 +66,7 @@ pub struct Profile { pub default_sample_type: i64, } /// ValueType describes the semantics and measurement units of a value. +#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueType { /// Rename it from type to ty to avoid using keyword in Rust. @@ -80,6 +82,7 @@ pub struct ValueType { /// context. The program context is typically a stack trace, perhaps /// augmented with auxiliary information like the thread-id, some /// indicator of a higher level request being handled etc. +#[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct Sample { /// The ids recorded here correspond to a Profile.location.id. @@ -99,6 +102,7 @@ pub struct Sample { #[prost(message, repeated, tag = "3")] pub label: ::prost::alloc::vec::Vec