|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|