aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-lang.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-lang.cc')
-rw-r--r--gcc/rust/rust-lang.cc23
1 files changed, 1 insertions, 22 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc
index e544d03..d453eac 100644
--- a/gcc/rust/rust-lang.cc
+++ b/gcc/rust/rust-lang.cc
@@ -68,23 +68,7 @@
#include "rust-system.h"
#include "rust-session-manager.h"
-
-// Language-dependent contents of a type. GTY() mark used for garbage collector.
-struct GTY (()) lang_type
-{
-};
-
-// Language-dependent contents of a decl.
-struct GTY (()) lang_decl
-{
-};
-
-// Language-dependent contents of an identifier. This must include a
-// tree_identifier.
-struct GTY (()) lang_identifier
-{
- struct tree_identifier common;
-};
+#include "rust-tree.h"
// The resulting tree type.
union GTY ((
@@ -98,11 +82,6 @@ union GTY ((
struct lang_identifier GTY ((tag ("1"))) identifier;
};
-// We don't use language_function.
-struct GTY (()) language_function
-{
-};
-
// has to be in same compilation unit as session, so here for now
void
rust_add_target_info (const char *key, const char *value)