change errors from Yellow to Magenta

The Yellow text is very hard to read with a white background.
This commit is contained in:
Niko Matsakis 2016-04-20 16:08:51 -04:00
parent 41a652e094
commit 71c6f81309

View File

@ -661,7 +661,7 @@ impl Level {
fn color(self) -> term::color::Color {
match self {
Bug | Fatal | PhaseFatal | Error => term::color::BRIGHT_RED,
Warning => term::color::BRIGHT_YELLOW,
Warning => term::color::BRIGHT_MAGENTA,
Note => term::color::BRIGHT_GREEN,
Help => term::color::BRIGHT_CYAN,
Cancelled => unreachable!(),