diff --git a/src/google/protobuf/compiler/rust/message.cc b/src/google/protobuf/compiler/rust/message.cc index 65c176bc3d..548ac0e600 100644 --- a/src/google/protobuf/compiler/rust/message.cc +++ b/src/google/protobuf/compiler/rust/message.cc @@ -739,7 +739,7 @@ void MessageProxiedInMapValue(Context& ctx, const Descriptor& msg) { void GenerateRs(Context& ctx, const Descriptor& msg) { if (msg.map_key() != nullptr) { - ABSL_LOG(WARNING) << "unsupported map field: " << msg.full_name(); + // Don't generate code for synthetic MapEntry messages. return; } ctx.Emit(