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) {
AddError(message.full_name(), proto.extension_range(i),
DescriptorPool::ErrorCollector::EXTENDEE, [&] {
return absl::Substitute(
"Cannot mark the extension range as UNVERIFIED when it "
"has extension(s) declared.");
return "Cannot mark the extension range as UNVERIFIED when "
"it has extension(s) declared.";
});
return;
}

Loading…
Cancel
Save