Skip to content

Commit 6d6fb2e

Browse files
committed
Adjust json errors to byte changes
1 parent e5c1d51 commit 6d6fb2e

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

src/test/ui/lint/unused_parens_json_suggestion.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"spans": [
99
{
1010
"file_name": "$DIR/unused_parens_json_suggestion.rs",
11-
"byte_start": 1035,
12-
"byte_end": 1048,
11+
"byte_start": 1027,
12+
"byte_end": 1040,
1313
"line_start": 24,
1414
"line_end": 24,
1515
"column_start": 14,
@@ -35,8 +35,8 @@
3535
"spans": [
3636
{
3737
"file_name": "$DIR/unused_parens_json_suggestion.rs",
38-
"byte_start": 881,
39-
"byte_end": 894,
38+
"byte_start": 873,
39+
"byte_end": 886,
4040
"line_start": 19,
4141
"line_end": 19,
4242
"column_start": 9,
@@ -64,8 +64,8 @@
6464
"spans": [
6565
{
6666
"file_name": "$DIR/unused_parens_json_suggestion.rs",
67-
"byte_start": 1035,
68-
"byte_end": 1048,
67+
"byte_start": 1027,
68+
"byte_end": 1040,
6969
"line_start": 24,
7070
"line_end": 24,
7171
"column_start": 14,

src/test/ui/lint/use_suggestion_json.stderr

+26-26
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"spans": [
99
{
1010
"file_name": "$DIR/use_suggestion_json.rs",
11-
"byte_start": 896,
12-
"byte_end": 900,
11+
"byte_start": 888,
12+
"byte_end": 892,
1313
"line_start": 20,
1414
"line_end": 20,
1515
"column_start": 12,
@@ -35,8 +35,8 @@
3535
"spans": [
3636
{
3737
"file_name": "$DIR/use_suggestion_json.rs",
38-
"byte_start": 873,
39-
"byte_end": 873,
38+
"byte_start": 865,
39+
"byte_end": 865,
4040
"line_start": 19,
4141
"line_end": 19,
4242
"column_start": 1,
@@ -55,8 +55,8 @@
5555
},
5656
{
5757
"file_name": "$DIR/use_suggestion_json.rs",
58-
"byte_start": 873,
59-
"byte_end": 873,
58+
"byte_start": 865,
59+
"byte_end": 865,
6060
"line_start": 19,
6161
"line_end": 19,
6262
"column_start": 1,
@@ -75,8 +75,8 @@
7575
},
7676
{
7777
"file_name": "$DIR/use_suggestion_json.rs",
78-
"byte_start": 873,
79-
"byte_end": 873,
78+
"byte_start": 865,
79+
"byte_end": 865,
8080
"line_start": 19,
8181
"line_end": 19,
8282
"column_start": 1,
@@ -95,8 +95,8 @@
9595
},
9696
{
9797
"file_name": "$DIR/use_suggestion_json.rs",
98-
"byte_start": 873,
99-
"byte_end": 873,
98+
"byte_start": 865,
99+
"byte_end": 865,
100100
"line_start": 19,
101101
"line_end": 19,
102102
"column_start": 1,
@@ -115,8 +115,8 @@
115115
},
116116
{
117117
"file_name": "$DIR/use_suggestion_json.rs",
118-
"byte_start": 873,
119-
"byte_end": 873,
118+
"byte_start": 865,
119+
"byte_end": 865,
120120
"line_start": 19,
121121
"line_end": 19,
122122
"column_start": 1,
@@ -135,8 +135,8 @@
135135
},
136136
{
137137
"file_name": "$DIR/use_suggestion_json.rs",
138-
"byte_start": 873,
139-
"byte_end": 873,
138+
"byte_start": 865,
139+
"byte_end": 865,
140140
"line_start": 19,
141141
"line_end": 19,
142142
"column_start": 1,
@@ -155,8 +155,8 @@
155155
},
156156
{
157157
"file_name": "$DIR/use_suggestion_json.rs",
158-
"byte_start": 873,
159-
"byte_end": 873,
158+
"byte_start": 865,
159+
"byte_end": 865,
160160
"line_start": 19,
161161
"line_end": 19,
162162
"column_start": 1,
@@ -175,8 +175,8 @@
175175
},
176176
{
177177
"file_name": "$DIR/use_suggestion_json.rs",
178-
"byte_start": 873,
179-
"byte_end": 873,
178+
"byte_start": 865,
179+
"byte_end": 865,
180180
"line_start": 19,
181181
"line_end": 19,
182182
"column_start": 1,
@@ -195,8 +195,8 @@
195195
},
196196
{
197197
"file_name": "$DIR/use_suggestion_json.rs",
198-
"byte_start": 873,
199-
"byte_end": 873,
198+
"byte_start": 865,
199+
"byte_end": 865,
200200
"line_start": 19,
201201
"line_end": 19,
202202
"column_start": 1,
@@ -215,8 +215,8 @@
215215
},
216216
{
217217
"file_name": "$DIR/use_suggestion_json.rs",
218-
"byte_start": 873,
219-
"byte_end": 873,
218+
"byte_start": 865,
219+
"byte_end": 865,
220220
"line_start": 19,
221221
"line_end": 19,
222222
"column_start": 1,
@@ -235,8 +235,8 @@
235235
},
236236
{
237237
"file_name": "$DIR/use_suggestion_json.rs",
238-
"byte_start": 873,
239-
"byte_end": 873,
238+
"byte_start": 865,
239+
"byte_end": 865,
240240
"line_start": 19,
241241
"line_end": 19,
242242
"column_start": 1,
@@ -255,8 +255,8 @@
255255
},
256256
{
257257
"file_name": "$DIR/use_suggestion_json.rs",
258-
"byte_start": 873,
259-
"byte_end": 873,
258+
"byte_start": 865,
259+
"byte_end": 865,
260260
"line_start": 19,
261261
"line_end": 19,
262262
"column_start": 1,

0 commit comments

Comments
 (0)