]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/driver/session.rs
Get rid of structural records in libsyntax and the last bit in librustc.
[rust.git] / src / librustc / driver / session.rs
index c783e1d616132e8acb004dfb33e4c3679664aaf1..2e8e4a6d51e0e7945ed1a6c7fa52b0f0627b13aa 100644 (file)
@@ -25,7 +25,7 @@
 use syntax::ast::{int_ty, uint_ty, float_ty};
 use syntax::codemap::span;
 use syntax::diagnostic;
-use syntax::parse::parse_sess;
+use syntax::parse::ParseSess;
 use syntax::{ast, codemap};
 use syntax;
 
@@ -151,7 +151,7 @@ pub struct Session_ {
     targ_cfg: @config,
     opts: @options,
     cstore: @mut metadata::cstore::CStore,
-    parse_sess: parse_sess,
+    parse_sess: @mut ParseSess,
     codemap: @codemap::CodeMap,
     // For a library crate, this is always none
     main_fn: @mut Option<(node_id, codemap::span)>,