about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-04-20 16:08:51 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-05-02 11:49:24 -0400
commit71c6f813098a4e51344b7968022bbd946bad37be (patch)
tree33cf39b9eb43eeb4603350d20ee72d53e0c322b9 /src/libsyntax/errors
parent41a652e0948d6cbcffa89a219b37a1e39ae619d4 (diff)
downloadrust-71c6f813098a4e51344b7968022bbd946bad37be.tar.gz
rust-71c6f813098a4e51344b7968022bbd946bad37be.zip
change errors from Yellow to Magenta
The Yellow text is very hard to read with a white background.
Diffstat (limited to 'src/libsyntax/errors')
-rw-r--r--src/libsyntax/errors/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/errors/mod.rs b/src/libsyntax/errors/mod.rs
index abbc4eef7bf..0de2e067802 100644
--- a/src/libsyntax/errors/mod.rs
+++ b/src/libsyntax/errors/mod.rs
@@ -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!(),