Skip to content

Commit d61ede9

Browse files
committed
should be styled actually
1 parent 46cf55a commit d61ede9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl AnnotateSnippetEmitter {
216216
// FIXME(#59346): Figure out if we can _always_ print to stderr or not.
217217
// `emitter.rs` has the `Destination` enum that lists various possible output
218218
// destinations.
219-
let renderer = Renderer::plain().anonymized_line_numbers(self.ui_testing);
219+
let renderer = Renderer::styled().anonymized_line_numbers(self.ui_testing);
220220
eprintln!("{}", renderer.render(snippet))
221221
}
222222
// FIXME(#59346): Is it ok to return None if there's no source_map?

0 commit comments

Comments
 (0)