Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto merge of #14296 : kballard/rust/diagnostic_color_newline, r=alex…
…crichton When printing colored diagnostics, we need to reset the terminal before emitting the newline, not after. Otherwise it gets line-buffered and the color won't reset until the next line is printed or the compiler exits. Normally this isn't a problem, but when running rustc in parallel with other processes (e.g. `make -j4`) this can cause the color to leak to other lines.
- Loading branch information