about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-12-14 18:15:39 +1300
committerNick Cameron <ncameron@mozilla.com>2015-12-17 09:35:51 +1300
commita47881182237201f207a4b89166a6be6903a8228 (patch)
treef003790d230523966d4ca2f7361ee9936f1c64a5 /src/libsyntax/parse
parent6309b0f5bb558b844f45b2d313d2078fd7b7614c (diff)
downloadrust-a47881182237201f207a4b89166a6be6903a8228.tar.gz
rust-a47881182237201f207a4b89166a6be6903a8228.zip
Move a bunch of stuff from Session to syntax::errors
The intention here is that Session is a very thin wrapper over the error handling infra.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/mod.rs b/src/libsyntax/parse/mod.rs
index f74e9023ed1..ed87961e7f3 100644
--- a/src/libsyntax/parse/mod.rs
+++ b/src/libsyntax/parse/mod.rs
@@ -49,7 +49,7 @@ pub struct ParseSess {
 impl ParseSess {
     pub fn new() -> ParseSess {
         let cm = Rc::new(CodeMap::new());
-        let handler = Handler::new(ColorConfig::Auto, None, true, cm.clone());
+        let handler = Handler::new(ColorConfig::Auto, None, true, false, cm.clone());
         ParseSess::with_span_handler(handler, cm)
     }