Skip to content

Commit 28a878b

Browse files
Internal change
PiperOrigin-RevId: 837970562
1 parent 5747636 commit 28a878b

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

src/google/protobuf/compiler/rust/generator.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,15 @@
1212
#include <utility>
1313
#include <vector>
1414

15-
#include "absl/algorithm/container.h"
1615
#include "absl/container/flat_hash_map.h"
1716
#include "absl/container/flat_hash_set.h"
1817
#include "absl/memory/memory.h"
1918
#include "absl/status/status.h"
2019
#include "absl/status/statusor.h"
2120
#include "absl/strings/escaping.h"
2221
#include "absl/strings/match.h"
23-
#include "absl/strings/str_cat.h"
2422
#include "absl/strings/str_replace.h"
2523
#include "absl/strings/string_view.h"
26-
#include "absl/strings/strip.h"
2724
#include "absl/types/span.h"
2825
#include "google/protobuf/compiler/code_generator.h"
2926
#include "google/protobuf/compiler/cpp/names.h"

src/google/protobuf/compiler/rust/generator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <cstdint>
1212
#include <string>
1313

14+
#include "google/protobuf/descriptor.pb.h"
1415
#include "google/protobuf/compiler/code_generator.h"
1516

1617
// Must be included last.

src/google/protobuf/compiler/rust/message.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
#include "absl/log/absl_check.h"
1616
#include "absl/log/absl_log.h"
17-
#include "absl/strings/ascii.h"
18-
#include "absl/strings/str_replace.h"
1917
#include "absl/strings/string_view.h"
2018
#include "google/protobuf/compiler/cpp/helpers.h"
2119
#include "google/protobuf/compiler/cpp/names.h"

src/google/protobuf/compiler/rust/naming_test.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
#include "google/protobuf/compiler/rust/naming.h"
22

3-
#include <string>
4-
#include <vector>
5-
63
#include <gtest/gtest.h>
7-
#include "absl/container/flat_hash_map.h"
84
#include "google/protobuf/descriptor.h"
9-
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
105

116
using google::protobuf::compiler::rust::CamelToSnakeCase;
127
using google::protobuf::compiler::rust::RustInternalModuleName;

src/google/protobuf/compiler/rust/relative_path_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#include "google/protobuf/compiler/rust/relative_path.h"
99

10-
#include <gmock/gmock.h>
1110
#include <gtest/gtest.h>
11+
#include "absl/strings/string_view.h"
1212

1313
namespace google {
1414
namespace protobuf {

0 commit comments

Comments
 (0)