diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-17 10:31:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-17 10:31:30 +0200 |
| commit | c89bc54d4f0174bd7c86693dc3b0500d11d756d2 (patch) | |
| tree | 0130a011c0194dfbcd49b4078e6b6a7be1f138e7 /src/libsyntax/parse | |
| parent | 258e3b3a75a0da006cd492307fc46ef605e774ad (diff) | |
| parent | 5c6a43a58bfb31bcabfd52e2c378cdaa48a68290 (diff) | |
| download | rust-c89bc54d4f0174bd7c86693dc3b0500d11d756d2.tar.gz rust-c89bc54d4f0174bd7c86693dc3b0500d11d756d2.zip | |
Rollup merge of #59128 - oli-obk:colorful_json, r=mark-i-m,eddyb
Emit ansi color codes in the `rendered` field of json diagnostics cc @ljedrz Implemented for https://github.com/rust-lang/rust/pull/56595#issuecomment-447645115 (x.py clippy)
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index 5557e281a66..3b980fafc2f 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -1920,6 +1920,7 @@ mod tests { let emitter = errors::emitter::EmitterWriter::new(Box::new(io::sink()), Some(sm.clone()), false, + false, false); ParseSess { span_diagnostic: errors::Handler::with_emitter(true, None, Box::new(emitter)), |
