From 1c3596301010a4fb2626f86aa09380daa4a220df Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 19 Sep 2024 12:07:29 -0700 Subject: [PATCH] Correct rust include references in Rust-C++ gencode in OSS. PiperOrigin-RevId: 676510445 --- rust/test/shared/utf8/utf8_test.cc | 6 +++--- src/google/protobuf/compiler/rust/generator.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rust/test/shared/utf8/utf8_test.cc b/rust/test/shared/utf8/utf8_test.cc index 80d48d9d3f..b7ffc5c8b0 100644 --- a/rust/test/shared/utf8/utf8_test.cc +++ b/rust/test/shared/utf8/utf8_test.cc @@ -3,9 +3,9 @@ #include #include #include "absl/strings/string_view.h" -#include "google/protobuf/rust/test/shared/utf8/feature_verify.pb.h" -#include "google/protobuf/rust/test/shared/utf8/no_features_proto2.pb.h" -#include "google/protobuf/rust/test/shared/utf8/no_features_proto3.pb.h" +#include "rust/test/shared/utf8/feature_verify.pb.h" +#include "rust/test/shared/utf8/no_features_proto2.pb.h" +#include "rust/test/shared/utf8/no_features_proto3.pb.h" namespace { diff --git a/src/google/protobuf/compiler/rust/generator.cc b/src/google/protobuf/compiler/rust/generator.cc index 459c9d0842..58acef2799 100644 --- a/src/google/protobuf/compiler/rust/generator.cc +++ b/src/google/protobuf/compiler/rust/generator.cc @@ -224,9 +224,9 @@ bool RustGenerator::Generate(const FileDescriptor* file, #include "google/protobuf/map.h" #include "google/protobuf/repeated_field.h" #include "google/protobuf/repeated_ptr_field.h" -#include "google/protobuf/rust/cpp_kernel/map.h" -#include "google/protobuf/rust/cpp_kernel/serialized_data.h" -#include "google/protobuf/rust/cpp_kernel/strings.h" +#include "rust/cpp_kernel/map.h" +#include "rust/cpp_kernel/serialized_data.h" +#include "rust/cpp_kernel/strings.h" )cc"); }