diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-04-27 19:51:12 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-05-02 11:49:25 -0400 |
| commit | 89d086be74d5ddf21d67f2a3c27a29cca2631bba (patch) | |
| tree | a2f22c68d6ebebf840d88891a1880944b722fd9b /src/libsyntax/errors | |
| parent | 790043b44e0c078c0f80b16cd03d1aeac6ef242b (diff) | |
| download | rust-89d086be74d5ddf21d67f2a3c27a29cca2631bba.tar.gz rust-89d086be74d5ddf21d67f2a3c27a29cca2631bba.zip | |
change color of warning to YELLOW
Diffstat (limited to 'src/libsyntax/errors')
| -rw-r--r-- | src/libsyntax/errors/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/errors/mod.rs b/src/libsyntax/errors/mod.rs index d533ffb981a..feac8aadc1e 100644 --- a/src/libsyntax/errors/mod.rs +++ b/src/libsyntax/errors/mod.rs @@ -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!(), |
