File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,6 @@ dependencies = [
8282 " url 2.2.2" ,
8383]
8484
85- [[package ]]
86- name = " annotate-snippets"
87- version = " 0.8.0"
88- source = " registry+https://github.com/rust-lang/crates.io-index"
89- checksum = " d78ea013094e5ea606b1c05fe35f1dd7ea1eb1ea259908d040b25bd5ec677ee5"
90-
9185[[package ]]
9286name = " annotate-snippets"
9387version = " 0.9.1"
@@ -3862,7 +3856,7 @@ dependencies = [
38623856name = " rustc_errors"
38633857version = " 0.0.0"
38643858dependencies = [
3865- " annotate-snippets 0.8.0 " ,
3859+ " annotate-snippets" ,
38663860 " atty" ,
38673861 " rustc_data_structures" ,
38683862 " rustc_error_messages" ,
@@ -4114,7 +4108,7 @@ dependencies = [
41144108name = " rustc_macros"
41154109version = " 0.1.0"
41164110dependencies = [
4117- " annotate-snippets 0.8.0 " ,
4111+ " annotate-snippets" ,
41184112 " fluent-bundle" ,
41194113 " fluent-syntax" ,
41204114 " proc-macro2" ,
@@ -4729,7 +4723,7 @@ dependencies = [
47294723name = " rustfmt-nightly"
47304724version = " 1.5.1"
47314725dependencies = [
4732- " annotate-snippets 0.9.1 " ,
4726+ " annotate-snippets" ,
47334727 " anyhow" ,
47344728 " bytecount" ,
47354729 " cargo_metadata 0.14.0" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rustc_lint_defs = { path = "../rustc_lint_defs" }
1818unicode-width = " 0.1.4"
1919atty = " 0.2"
2020termcolor = " 1.0"
21- annotate-snippets = " 0.8.0 "
21+ annotate-snippets = " 0.9 "
2222termize = " 0.1.1"
2323serde = { version = " 1.0.125" , features = [" derive" ] }
2424serde_json = " 1.0.59"
Original file line number Diff line number Diff line change @@ -183,7 +183,11 @@ impl AnnotateSnippetEmitterWriter {
183183 annotation_type : annotation_type_for_level ( * level) ,
184184 } ) ,
185185 footer : vec ! [ ] ,
186- opt : FormatOptions { color : true , anonymized_line_numbers : self . ui_testing } ,
186+ opt : FormatOptions {
187+ color : true ,
188+ anonymized_line_numbers : self . ui_testing ,
189+ margin : None ,
190+ } ,
187191 slices : annotated_files
188192 . iter ( )
189193 . map ( |( source, line_index, annotations) | {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ edition = "2021"
77proc-macro = true
88
99[dependencies ]
10- annotate-snippets = " 0.8.0 "
10+ annotate-snippets = " 0.9 "
1111fluent-bundle = " 0.15.2"
1212fluent-syntax = " 0.11"
1313synstructure = " 0.12.1"
You can’t perform that action at this time.
0 commit comments