Clean up another Rust protobuf logspam message

PiperOrigin-RevId: 610921886
pull/15989/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 5993e86986
commit 6713c2f646
  1. 2
      src/google/protobuf/compiler/rust/message.cc

@ -1095,7 +1095,7 @@ void GenerateRs(Context& ctx, const Descriptor& msg) {
void GenerateThunksCc(Context& ctx, const Descriptor& msg) {
ABSL_CHECK(ctx.is_cpp());
if (msg.map_key() != nullptr) {
ABSL_LOG(WARNING) << "unsupported map field: " << msg.full_name();
// Don't generate code for synthetic MapEntry messages.
return;
}

Loading…
Cancel
Save