diff options
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
-rw-r--r-- | gcc/rust/rust-session-manager.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc index c7bbe89..2c84783 100644 --- a/gcc/rust/rust-session-manager.cc +++ b/gcc/rust/rust-session-manager.cc @@ -28,7 +28,6 @@ #include "rust-privacy-check.h" #include "rust-const-checker.h" #include "rust-feature-gate.h" -#include "rust-tycheck-dump.h" #include "rust-compile.h" #include "rust-cfg-parser.h" #include "rust-lint-scan-deadcode.h" @@ -630,10 +629,6 @@ Session::compile_crate (const char *filename) // type resolve Resolver::TypeResolution::Resolve (hir); - if (options.dump_option_enabled (CompileOptions::TYPE_RESOLUTION_DUMP)) - { - dump_type_resolution (hir); - } if (saw_errors ()) return; @@ -978,22 +973,6 @@ Session::dump_hir_pretty (HIR::Crate &crate) const out.close (); } -void -Session::dump_type_resolution (HIR::Crate &hir) const -{ - std::ofstream out; - out.open (kHIRTypeResolutionDumpFile); - if (out.fail ()) - { - rust_error_at (Linemap::unknown_location (), "cannot open %s:%m; ignored", - kHIRTypeResolutionDumpFile); - return; - } - - Resolver::TypeResolverDump::go (hir, out); - out.close (); -} - // imports NodeId |