Skip to content

Commit 895a8f1

Browse files
committed
lint: allow dead code in prost generated pb codes
To suppress Clippy’s "struct is never constructed" warning since 1.89.0
1 parent 22d1305 commit 895a8f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpc/pb.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#![allow(clippy::enum_variant_names)]
44
#![allow(clippy::derive_partial_eq_without_eq)]
55
#![allow(clippy::doc_lazy_continuation)]
6+
#![allow(dead_code)]
67

78
pub mod authpb {
89
tonic::include_proto!("authpb");

0 commit comments

Comments
 (0)