From ce3967c2de2a149db333d0b18ef0f2e530e668cc Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Tue, 1 Oct 2024 15:48:07 +0200 Subject: [PATCH] change color of ltcc diagnostic message to yellow --- ltcc/src/diagnostic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltcc/src/diagnostic.rs b/ltcc/src/diagnostic.rs index 5624509..e69a6e7 100644 --- a/ltcc/src/diagnostic.rs +++ b/ltcc/src/diagnostic.rs @@ -71,7 +71,7 @@ pub fn print_diagnostic( for _ in column_begin..column_end { print!("{}", "^".magenta().bold()); } print!("\n"); - print!("{} [{}-{}]: {}\n", "error".bright_red(), column_begin, column_end, message.white()); + print!("{} [{}-{}]: {}\n", "error".bright_red(), column_begin, column_end, message.yellow()); } else if next_lines > 0 { next_lines -= 1;