diff options
| author | klensy <klensy@users.noreply.github.com> | 2022-07-31 16:44:06 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2022-08-02 21:07:01 +0300 |
| commit | 754b52669ff505b376e0d00b7ba9a0c18db535d1 (patch) | |
| tree | 50d054c337ebdba9a50321e4f1d5050d96866a3b /compiler/rustc_errors/src | |
| parent | 06f4950cbdb5a0a59063156af6383283b1aae30e (diff) | |
| download | rust-754b52669ff505b376e0d00b7ba9a0c18db535d1.tar.gz rust-754b52669ff505b376e0d00b7ba9a0c18db535d1.zip | |
dedupe 'annotate-snippets' crate versions
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs b/compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs index 0fcd61d1e58..3df562c7eda 100644 --- a/compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs +++ b/compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs @@ -183,7 +183,11 @@ impl AnnotateSnippetEmitterWriter { annotation_type: annotation_type_for_level(*level), }), footer: vec![], - opt: FormatOptions { color: true, anonymized_line_numbers: self.ui_testing }, + opt: FormatOptions { + color: true, + anonymized_line_numbers: self.ui_testing, + margin: None, + }, slices: annotated_files .iter() .map(|(source, line_index, annotations)| { |
