From 6d6fb2ef97b81cd5fd39c86b881879d16ecd31c0 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Mon, 6 Nov 2017 10:34:23 +0100 Subject: Adjust json errors to byte changes --- .../ui/lint/unused_parens_json_suggestion.stderr | 12 ++--- src/test/ui/lint/use_suggestion_json.stderr | 52 +++++++++++----------- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/test/ui/lint/unused_parens_json_suggestion.stderr b/src/test/ui/lint/unused_parens_json_suggestion.stderr index d2e2d6220f1..e166f7011b5 100644 --- a/src/test/ui/lint/unused_parens_json_suggestion.stderr +++ b/src/test/ui/lint/unused_parens_json_suggestion.stderr @@ -8,8 +8,8 @@ "spans": [ { "file_name": "$DIR/unused_parens_json_suggestion.rs", - "byte_start": 1035, - "byte_end": 1048, + "byte_start": 1027, + "byte_end": 1040, "line_start": 24, "line_end": 24, "column_start": 14, @@ -35,8 +35,8 @@ "spans": [ { "file_name": "$DIR/unused_parens_json_suggestion.rs", - "byte_start": 881, - "byte_end": 894, + "byte_start": 873, + "byte_end": 886, "line_start": 19, "line_end": 19, "column_start": 9, @@ -64,8 +64,8 @@ "spans": [ { "file_name": "$DIR/unused_parens_json_suggestion.rs", - "byte_start": 1035, - "byte_end": 1048, + "byte_start": 1027, + "byte_end": 1040, "line_start": 24, "line_end": 24, "column_start": 14, diff --git a/src/test/ui/lint/use_suggestion_json.stderr b/src/test/ui/lint/use_suggestion_json.stderr index 163574fc0ad..fd3b5fe1ada 100644 --- a/src/test/ui/lint/use_suggestion_json.stderr +++ b/src/test/ui/lint/use_suggestion_json.stderr @@ -8,8 +8,8 @@ "spans": [ { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 896, - "byte_end": 900, + "byte_start": 888, + "byte_end": 892, "line_start": 20, "line_end": 20, "column_start": 12, @@ -35,8 +35,8 @@ "spans": [ { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -55,8 +55,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -75,8 +75,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -95,8 +95,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -115,8 +115,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -135,8 +135,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -155,8 +155,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -175,8 +175,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -195,8 +195,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -215,8 +215,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -235,8 +235,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, @@ -255,8 +255,8 @@ }, { "file_name": "$DIR/use_suggestion_json.rs", - "byte_start": 873, - "byte_end": 873, + "byte_start": 865, + "byte_end": 865, "line_start": 19, "line_end": 19, "column_start": 1, -- cgit 1.4.1-3-g733a5