aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lex/rust-lex.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-10-05 09:28:02 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-10-27 12:15:11 +0200
commit5206aede5326ebd327d7f32c46faacbc6d07942e (patch)
treea882cbfa9d8fe8039637f7844737e8b621df7d3a /gcc/rust/lex/rust-lex.cc
parentc5454530ec4fe8b3c5f2f08191aece5544dec2d2 (diff)
downloadgcc-5206aede5326ebd327d7f32c46faacbc6d07942e.zip
gcc-5206aede5326ebd327d7f32c46faacbc6d07942e.tar.gz
gcc-5206aede5326ebd327d7f32c46faacbc6d07942e.tar.bz2
lex: Remove system includes
Diffstat (limited to 'gcc/rust/lex/rust-lex.cc')
-rw-r--r--gcc/rust/lex/rust-lex.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rust/lex/rust-lex.cc b/gcc/rust/lex/rust-lex.cc
index 70e6b50..82949f5 100644
--- a/gcc/rust/lex/rust-lex.cc
+++ b/gcc/rust/lex/rust-lex.cc
@@ -16,10 +16,9 @@
// along with GCC; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
+#include "rust-system.h"
#include "rust-lex.h"
-
-#include "rust-system.h" // for rust_assert and rust_unreachable
-#include "rust-diagnostics.h" // for rust_error_at
+#include "rust-diagnostics.h"
#include "rust-linemap.h"
#include "rust-session-manager.h"
#include "safe-ctype.h"