aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-session-manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
-rw-r--r--gcc/rust/rust-session-manager.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index c1df913..281049d 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -34,6 +34,7 @@
#include "rust-ast-resolve.h"
#include "rust-ast-lower.h"
#include "rust-hir-type-check.h"
+#include "rust-tycheck-dump.h"
#include "rust-compile.h"
extern Linemap *
@@ -548,6 +549,10 @@ Session::parse_file (const char *filename)
// type resolve
type_resolution (hir);
+ // FIXME this needs an option of itself
+ // auto buf = Resolver::TypeResolverDump::go (hir);
+ // fprintf (stderr, "%s\n", buf.c_str ());
+
if (saw_errors ())
return;