internal changes

PiperOrigin-RevId: 546287121
pull/13229/head
Protobuf Team Bot 1 year ago committed by Copybara-Service
parent 2d8b38f316
commit cca0eee0e2
  1. 5
      src/google/protobuf/descriptor.cc

@ -8211,9 +8211,8 @@ void DescriptorBuilder::ValidateExtensionRangeOptions(
range_options.verification() == ExtensionRangeOptions::UNVERIFIED) { range_options.verification() == ExtensionRangeOptions::UNVERIFIED) {
AddError(message.full_name(), proto.extension_range(i), AddError(message.full_name(), proto.extension_range(i),
DescriptorPool::ErrorCollector::EXTENDEE, [&] { DescriptorPool::ErrorCollector::EXTENDEE, [&] {
return absl::Substitute( return "Cannot mark the extension range as UNVERIFIED when "
"Cannot mark the extension range as UNVERIFIED when it " "it has extension(s) declared.";
"has extension(s) declared.");
}); });
return; return;
} }

Loading…
Cancel
Save