From 5186b8f56686270330f4a95318d5b348f6693b35 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 27 Oct 2018 18:14:48 -0700 Subject: [PATCH] Update ui tests at nightly 2018-10-26 --- tests/ui/missing_colon.stderr | 2 +- tests/ui/missing_value.stderr | 2 +- tests/ui/parse_expr.stderr | 2 +- tests/ui/unexpected_after_array_element.stderr | 2 +- tests/ui/unexpected_after_map_entry.stderr | 2 +- tests/ui/unexpected_colon.stderr | 2 +- tests/ui/unexpected_comma.stderr | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/ui/missing_colon.stderr b/tests/ui/missing_colon.stderr index 3e48b5c..ca45e44 100644 --- a/tests/ui/missing_colon.stderr +++ b/tests/ui/missing_colon.stderr @@ -2,7 +2,7 @@ error: unexpected end of macro invocation --> $DIR/missing_colon.rs:13:5 | 13 | json!({ "a" }); - | ^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^ unexpected end of macro invocation | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) diff --git a/tests/ui/missing_value.stderr b/tests/ui/missing_value.stderr index 3dda25c..3d4a313 100644 --- a/tests/ui/missing_value.stderr +++ b/tests/ui/missing_value.stderr @@ -2,7 +2,7 @@ error: unexpected end of macro invocation --> $DIR/missing_value.rs:13:5 | 13 | json!({ "a" : }); - | ^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^ unexpected end of macro invocation | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) diff --git a/tests/ui/parse_expr.stderr b/tests/ui/parse_expr.stderr index c116988..2ad8ecc 100644 --- a/tests/ui/parse_expr.stderr +++ b/tests/ui/parse_expr.stderr @@ -2,7 +2,7 @@ error: unexpected end of macro invocation --> $DIR/parse_expr.rs:13:5 | 13 | json!({ "a" : ~ }); - | ^^^^^^^^^^^^^^^^^^^ + | ^^^^^^^^^^^^^^^^^^^ unexpected end of macro invocation | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) diff --git a/tests/ui/unexpected_after_array_element.stderr b/tests/ui/unexpected_after_array_element.stderr index bd1f9a8..66b9788 100644 --- a/tests/ui/unexpected_after_array_element.stderr +++ b/tests/ui/unexpected_after_array_element.stderr @@ -2,7 +2,7 @@ error: no rules expected the token `=>` --> $DIR/unexpected_after_array_element.rs:13:18 | 13 | json!([ true => ]); - | ^^ + | ^^ no rules expected the token `=>` error: aborting due to previous error diff --git a/tests/ui/unexpected_after_map_entry.stderr b/tests/ui/unexpected_after_map_entry.stderr index 37c453b..6233fe6 100644 --- a/tests/ui/unexpected_after_map_entry.stderr +++ b/tests/ui/unexpected_after_map_entry.stderr @@ -2,7 +2,7 @@ error: no rules expected the token `=>` --> $DIR/unexpected_after_map_entry.rs:13:23 | 13 | json!({ "k": true => }); - | ^^ + | ^^ no rules expected the token `=>` error: aborting due to previous error diff --git a/tests/ui/unexpected_colon.stderr b/tests/ui/unexpected_colon.stderr index f818a7d..7616f3b 100644 --- a/tests/ui/unexpected_colon.stderr +++ b/tests/ui/unexpected_colon.stderr @@ -2,7 +2,7 @@ error: no rules expected the token `:` --> $DIR/unexpected_colon.rs:13:13 | 13 | json!({ : true }); - | ^ + | ^ no rules expected the token `:` error: aborting due to previous error diff --git a/tests/ui/unexpected_comma.stderr b/tests/ui/unexpected_comma.stderr index 2e18e18..9afdf68 100644 --- a/tests/ui/unexpected_comma.stderr +++ b/tests/ui/unexpected_comma.stderr @@ -2,7 +2,7 @@ error: no rules expected the token `,` --> $DIR/unexpected_comma.rs:13:17 | 13 | json!({ "a" , "b": true }); - | ^ + | ^ no rules expected the token `,` error: aborting due to previous error