Skip to content

Commit

Permalink
chore: Update generated code (#1677)
Browse files Browse the repository at this point in the history
* chore: Update generated code

* add allow dead_code for integ test

---------

Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
  • Loading branch information
tottoto and LucioFranco committed Apr 25, 2024
1 parent eeb3268 commit 068421a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration_tests/tests/streams.rs
Expand Up @@ -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 {}
Expand Down
1 change: 1 addition & 0 deletions 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 {
Expand Down
1 change: 1 addition & 0 deletions 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)]
Expand Down
1 change: 1 addition & 0 deletions 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](<https://github.com/grpc>). Each `Status` message contains
Expand Down

0 comments on commit 068421a

Please sign in to comment.