From fdf093238a0def95facdb74959be91e962b0c89c Mon Sep 17 00:00:00 2001 From: tottoto Date: Mon, 8 Apr 2024 20:39:54 +0900 Subject: [PATCH 1/2] chore: Update generated code --- tonic-health/src/generated/grpc_health_v1.rs | 1 + tonic-reflection/src/generated/grpc_reflection_v1alpha.rs | 1 + tonic-types/src/generated/google_rpc.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/tonic-health/src/generated/grpc_health_v1.rs b/tonic-health/src/generated/grpc_health_v1.rs index 9662361f0..eade84e74 100644 --- a/tonic-health/src/generated/grpc_health_v1.rs +++ b/tonic-health/src/generated/grpc_health_v1.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckRequest { diff --git a/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs b/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs index 7efa6d51a..85e59c00a 100644 --- a/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs +++ b/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// The message sent by the client when calling ServerReflectionInfo method. #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/tonic-types/src/generated/google_rpc.rs b/tonic-types/src/generated/google_rpc.rs index 4ecb5315e..0e52dcd26 100644 --- a/tonic-types/src/generated/google_rpc.rs +++ b/tonic-types/src/generated/google_rpc.rs @@ -1,3 +1,4 @@ +// This file is @generated by prost-build. /// The `Status` type defines a logical error model that is suitable for /// different programming environments, including REST APIs and RPC APIs. It is /// used by [gRPC](). Each `Status` message contains From e913f184b09b2dc7e88f8e1ca0e9a3738ce8751e Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Thu, 25 Apr 2024 18:00:42 -0400 Subject: [PATCH 2/2] add allow dead_code for integ test --- tests/integration_tests/tests/streams.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration_tests/tests/streams.rs b/tests/integration_tests/tests/streams.rs index 8ce2e93bf..52171a9b9 100644 --- a/tests/integration_tests/tests/streams.rs +++ b/tests/integration_tests/tests/streams.rs @@ -41,6 +41,7 @@ async fn status_from_server_stream_with_source() { jh.await.unwrap(); } +#[allow(dead_code)] struct Unsync(*mut ()); unsafe impl Send for Unsync {}