diff --git a/src/google/protobuf/descriptor.cc b/src/google/protobuf/descriptor.cc index 8c9403f598..1f15e59c88 100644 --- a/src/google/protobuf/descriptor.cc +++ b/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; }