diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-12-14 18:15:39 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-12-17 09:35:51 +1300 |
| commit | a47881182237201f207a4b89166a6be6903a8228 (patch) | |
| tree | f003790d230523966d4ca2f7361ee9936f1c64a5 /src/libsyntax/parse | |
| parent | 6309b0f5bb558b844f45b2d313d2078fd7b7614c (diff) | |
| download | rust-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.rs | 2 |
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) } |
