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 46cf55a commit d61ede9Copy full SHA for d61ede9
compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs
@@ -216,7 +216,7 @@ impl AnnotateSnippetEmitter {
216
// FIXME(#59346): Figure out if we can _always_ print to stderr or not.
217
// `emitter.rs` has the `Destination` enum that lists various possible output
218
// destinations.
219
- let renderer = Renderer::plain().anonymized_line_numbers(self.ui_testing);
+ let renderer = Renderer::styled().anonymized_line_numbers(self.ui_testing);
220
eprintln!("{}", renderer.render(snippet))
221
}
222
// FIXME(#59346): Is it ok to return None if there's no source_map?
0 commit comments