Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up some system includes #3259

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gcc/rust/ast/rust-stmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "rust-ast.h"
#include "rust-path.h"
#include "rust-expr.h"
#include <memory>
#include "rust-system.h"

namespace Rust {
namespace AST {
Expand Down
1 change: 0 additions & 1 deletion gcc/rust/backend/rust-compile-expr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "convert.h"
#include "print-tree.h"
#include "rust-system.h"
#include <functional>

namespace Rust {
namespace Compile {
Expand Down
1 change: 0 additions & 1 deletion gcc/rust/backend/rust-mangle-legacy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "rust-unicode.h"
#include "rust-diagnostics.h"
#include "rust-system.h"
#include <sstream>

namespace Rust {
namespace Compile {
Expand Down
1 change: 0 additions & 1 deletion gcc/rust/backend/rust-mangle-v0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "rust-unicode.h"
#include "rust-punycode.h"
#include "rust-compile-type.h"
#include <sstream>

namespace Rust {
namespace Compile {
Expand Down
2 changes: 1 addition & 1 deletion gcc/rust/hir/rust-hir-dump.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#include "rust-hir-path.h"
#include "rust-hir-type.h"
#include "rust-hir.h"
#include <string>
#include "rust-attribute-values.h"
#include "tree/rust-hir-expr.h"
#include "rust-system.h"

namespace Rust {
namespace HIR {
Expand Down
2 changes: 1 addition & 1 deletion gcc/rust/typecheck/rust-hir-type-check-type.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "rust-mapping-common.h"
#include "rust-substitution-mapper.h"
#include "rust-type-util.h"
#include <functional>
#include "rust-system.h"

namespace Rust {
namespace Resolver {
Expand Down
2 changes: 1 addition & 1 deletion gcc/rust/typecheck/rust-tyty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "rust-hir-type-bounds.h"

#include "options.h"
#include <functional>
#include "rust-system.h"

namespace Rust {
namespace TyTy {
Expand Down
2 changes: 0 additions & 2 deletions gcc/rust/typecheck/rust-tyty.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#include "rust-system.h"
#include "rust-hir.h"

#include <limits>

namespace Rust {

namespace Resolver {
Expand Down
1 change: 0 additions & 1 deletion gcc/rust/util/rust-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#ifndef RUST_COMMON
#define RUST_COMMON
#include "rust-system.h"
#include <string>

namespace Rust {

Expand Down
3 changes: 1 addition & 2 deletions gcc/rust/util/rust-token-converter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
#include "rust-token-converter.h"
#include "bi-map.h"
#include "line-map.h"

#include <string>
#include "rust-system.h"

namespace Rust {

Expand Down
2 changes: 1 addition & 1 deletion gcc/rust/util/rust-token-converter.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef RUST_TOKEN_CONVERTER_H
#define RUST_TOKEN_CONVERTER_H

#include <vector>
#include "rust-system.h"
#include "rust-token.h"
#include "libproc_macro_internal/proc_macro.h"

Expand Down
Loading