File tree 4 files changed +10
-12
lines changed
4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,6 @@ dependencies = [
82
82
" url 2.2.2" ,
83
83
]
84
84
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
-
91
85
[[package ]]
92
86
name = " annotate-snippets"
93
87
version = " 0.9.1"
@@ -3862,7 +3856,7 @@ dependencies = [
3862
3856
name = " rustc_errors"
3863
3857
version = " 0.0.0"
3864
3858
dependencies = [
3865
- " annotate-snippets 0.8.0 " ,
3859
+ " annotate-snippets" ,
3866
3860
" atty" ,
3867
3861
" rustc_data_structures" ,
3868
3862
" rustc_error_messages" ,
@@ -4114,7 +4108,7 @@ dependencies = [
4114
4108
name = " rustc_macros"
4115
4109
version = " 0.1.0"
4116
4110
dependencies = [
4117
- " annotate-snippets 0.8.0 " ,
4111
+ " annotate-snippets" ,
4118
4112
" fluent-bundle" ,
4119
4113
" fluent-syntax" ,
4120
4114
" proc-macro2" ,
@@ -4729,7 +4723,7 @@ dependencies = [
4729
4723
name = " rustfmt-nightly"
4730
4724
version = " 1.5.1"
4731
4725
dependencies = [
4732
- " annotate-snippets 0.9.1 " ,
4726
+ " annotate-snippets" ,
4733
4727
" anyhow" ,
4734
4728
" bytecount" ,
4735
4729
" 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" }
18
18
unicode-width = " 0.1.4"
19
19
atty = " 0.2"
20
20
termcolor = " 1.0"
21
- annotate-snippets = " 0.8.0 "
21
+ annotate-snippets = " 0.9 "
22
22
termize = " 0.1.1"
23
23
serde = { version = " 1.0.125" , features = [" derive" ] }
24
24
serde_json = " 1.0.59"
Original file line number Diff line number Diff line change @@ -183,7 +183,11 @@ impl AnnotateSnippetEmitterWriter {
183
183
annotation_type : annotation_type_for_level ( * level) ,
184
184
} ) ,
185
185
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
+ } ,
187
191
slices : annotated_files
188
192
. iter ( )
189
193
. map ( |( source, line_index, annotations) | {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ edition = "2021"
7
7
proc-macro = true
8
8
9
9
[dependencies ]
10
- annotate-snippets = " 0.8.0 "
10
+ annotate-snippets = " 0.9 "
11
11
fluent-bundle = " 0.15.2"
12
12
fluent-syntax = " 0.11"
13
13
synstructure = " 0.12.1"
You can’t perform that action at this time.
0 commit comments