diff --git a/third-party/thrift/src/thrift/lib/rust/src/errors.rs b/third-party/thrift/src/thrift/lib/rust/src/errors.rs index 0a1ae94dff736f..d3cdb69aaea35d 100644 --- a/third-party/thrift/src/thrift/lib/rust/src/errors.rs +++ b/third-party/thrift/src/thrift/lib/rust/src/errors.rs @@ -20,7 +20,7 @@ use thiserror::Error; use crate::ttype::TType; use crate::ApplicationException; -#[derive(Debug, Error)] +#[derive(Debug, Error, PartialEq)] #[allow(dead_code)] pub enum ProtocolError { #[error("end of file reached")]