aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index c228f6b..56e15a3 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -29,12 +29,6 @@
#include "operator.h"
#include "tree.h"
-extern bool
-saw_errors (void);
-
-// TODO: Will have to be significantly modified to work with Rust and current
-// setup of gccrs
-
// Pointers to these types are created by the backend, passed to the
// frontend, and passed back to the backend. The types must be
// defined by the backend using these names.
@@ -76,11 +70,6 @@ public:
// Types.
- // Get a void type. This is used in (at least) two ways: 1) as the
- // return type of a function with no result parameters; 2)
- // unsafe.Pointer is represented as *void.
- virtual tree void_type () = 0;
-
// get unit-type
virtual tree unit_type () = 0;