We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776c8a3 commit 325936aCopy full SHA for 325936a
src/librustc/session/mod.rs
@@ -1050,8 +1050,8 @@ fn default_emitter(
1050
dst,
1051
Some(source_map.clone()),
1052
short,
1053
- false,
1054
- color_config.suggests_using_colors(),
+ false, // no teach messages when writing to a buffer
+ false, // no colors when writing to a buffer
1055
),
1056
};
1057
Box::new(emitter.ui_testing(sopts.debugging_opts.ui_testing))
src/librustc_errors/emitter.rs
@@ -146,7 +146,7 @@ impl ColorConfig {
146
ColorConfig::Auto => ColorChoice::Never,
147
}
148
149
- pub fn suggests_using_colors(self) -> bool {
+ fn suggests_using_colors(self) -> bool {
150
match self {
151
| ColorConfig::Always
152
| ColorConfig::Auto
0 commit comments