about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-03-25 11:16:58 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-04-02 16:14:59 +0200
commit39b21376dbe9489b7f4d39f3bf742a44d5f3770d (patch)
tree01777e3e1ec6df2815920f4fb6e87c4c91ee9f97 /src/test
parent0a842e8c7a18ac609c3c7c60563e8e6bc7d917c6 (diff)
downloadrust-39b21376dbe9489b7f4d39f3bf742a44d5f3770d.tar.gz
rust-39b21376dbe9489b7f4d39f3bf742a44d5f3770d.zip
Rename `colorful-json` to `json-rendered` and make it a selection instead of a bool
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/lint/use_suggestion_json.rs2
-rw-r--r--src/test/ui/lint/use_suggestion_json.stderr52
2 files changed, 27 insertions, 27 deletions
diff --git a/src/test/ui/lint/use_suggestion_json.rs b/src/test/ui/lint/use_suggestion_json.rs
index 9cf3d0fa403..d62f8f110e0 100644
--- a/src/test/ui/lint/use_suggestion_json.rs
+++ b/src/test/ui/lint/use_suggestion_json.rs
@@ -1,5 +1,5 @@
 // ignore-cloudabi
-// compile-flags: --error-format pretty-json -Zunstable-options --colorful-json=true
+// compile-flags: --error-format pretty-json -Zunstable-options --json-rendered=termcolor
 
 // The output for humans should just highlight the whole span without showing
 // the suggested replacement, but we also want to test that suggested
diff --git a/src/test/ui/lint/use_suggestion_json.stderr b/src/test/ui/lint/use_suggestion_json.stderr
index 789bb5ea72f..04cfebdd801 100644
--- a/src/test/ui/lint/use_suggestion_json.stderr
+++ b/src/test/ui/lint/use_suggestion_json.stderr
@@ -73,8 +73,8 @@ mod foo {
   "spans": [
     {
       "file_name": "$DIR/use_suggestion_json.rs",
-      "byte_start": 461,
-      "byte_end": 465,
+      "byte_start": 466,
+      "byte_end": 470,
       "line_start": 11,
       "line_end": 11,
       "column_start": 12,
@@ -101,8 +101,8 @@ mod foo {
       "spans": [
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -124,8 +124,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -147,8 +147,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -170,8 +170,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -193,8 +193,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -216,8 +216,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -239,8 +239,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -262,8 +262,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -285,8 +285,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -308,8 +308,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -331,8 +331,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,
@@ -354,8 +354,8 @@ mod foo {
         },
         {
           "file_name": "$DIR/use_suggestion_json.rs",
-          "byte_start": 438,
-          "byte_end": 438,
+          "byte_start": 443,
+          "byte_end": 443,
           "line_start": 10,
           "line_end": 10,
           "column_start": 1,