about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2011-07-21 15:32:31 -0700
committerMichael Sullivan <sully@msully.net>2011-07-21 17:39:06 -0700
commitf8bb5a3b580da660e2f55f0701a06798581c56ae (patch)
tree4decb936647c1209366878bb25870f8a79ad8131 /src/comp/driver
parenta9a1392b2c1fece9447a2b834896b4316c5dbfff (diff)
downloadrust-f8bb5a3b580da660e2f55f0701a06798581c56ae.tar.gz
rust-f8bb5a3b580da660e2f55f0701a06798581c56ae.zip
Make ty::ctxt be boxed.
Arguably we should leave ty_ctxt as a bare rec and just always work with
boxes of it. This winds up being simpler and prettier, though.
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 7e360e7f0e1..01ae803c9e2 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -143,7 +143,7 @@ fn compile_input(session::session sess, ast::crate_cfg cfg, str input,
              bind middle::tstate::ck::check_crate(ty_cx, crate));
     }
     time(time_passes, "alias checking",
-         bind middle::alias::check_crate(@ty_cx, crate));
+         bind middle::alias::check_crate(ty_cx, crate));
     auto llmod =
         time[llvm::llvm::ModuleRef](time_passes, "translation",
                                     bind trans::trans_crate