change color of warning to YELLOW

This commit is contained in:
Niko Matsakis 2016-04-27 19:51:12 -04:00
parent 790043b44e
commit 89d086be74

View File

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