From fcebbd1442de883b6ea498865041d27f6f0533ff Mon Sep 17 00:00:00 2001 From: Hong Shin Date: Thu, 31 Aug 2023 10:40:11 -0700 Subject: [PATCH] Squelch snake case warnings for modules PiperOrigin-RevId: 561697301 --- src/google/protobuf/compiler/rust/message.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/google/protobuf/compiler/rust/message.cc b/src/google/protobuf/compiler/rust/message.cc index 23d0cecfae..db9fa85f42 100644 --- a/src/google/protobuf/compiler/rust/message.cc +++ b/src/google/protobuf/compiler/rust/message.cc @@ -261,6 +261,7 @@ void GenerateRs(Context msg) { } }}}, R"rs( + #[allow(non_snake_case)] pub mod $Msg$_ { $nested_msgs$