From 42ab31feacef82f1cb4c11892b43fe2d89208cd7 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 30 Oct 2024 19:18:57 -0700 Subject: [PATCH] Update ui test suite to nightly-2024-10-31 --- tests/ui/missing_comma.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 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/ui/missing_comma.stderr b/tests/ui/missing_comma.stderr index bafa0f891..b0f0e4bd4 100644 --- a/tests/ui/missing_comma.stderr +++ b/tests/ui/missing_comma.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `"2"` +error: no rules expected `"2"` --> tests/ui/missing_comma.rs:4:21 | 4 | json!({ "1": "" "2": "" }); diff --git a/tests/ui/parse_expr.stderr b/tests/ui/parse_expr.stderr index cd3e1c94d..70cd74162 100644 --- a/tests/ui/parse_expr.stderr +++ b/tests/ui/parse_expr.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `~` +error: no rules expected `~` --> tests/ui/parse_expr.rs:4:19 | 4 | json!({ "a" : ~ }); diff --git a/tests/ui/unexpected_after_array_element.stderr b/tests/ui/unexpected_after_array_element.stderr index ef449f764..b848e4dbd 100644 --- a/tests/ui/unexpected_after_array_element.stderr +++ b/tests/ui/unexpected_after_array_element.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `=>` +error: no rules expected `=>` --> tests/ui/unexpected_after_array_element.rs:4:18 | 4 | json!([ true => ]); diff --git a/tests/ui/unexpected_after_map_entry.stderr b/tests/ui/unexpected_after_map_entry.stderr index c62d90ba0..9f77c0729 100644 --- a/tests/ui/unexpected_after_map_entry.stderr +++ b/tests/ui/unexpected_after_map_entry.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `=>` +error: no rules expected `=>` --> tests/ui/unexpected_after_map_entry.rs:4:23 | 4 | json!({ "k": true => }); diff --git a/tests/ui/unexpected_colon.stderr b/tests/ui/unexpected_colon.stderr index 7e47726bc..d47e88161 100644 --- a/tests/ui/unexpected_colon.stderr +++ b/tests/ui/unexpected_colon.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `:` +error: no rules expected `:` --> tests/ui/unexpected_colon.rs:4:13 | 4 | json!({ : true }); diff --git a/tests/ui/unexpected_comma.stderr b/tests/ui/unexpected_comma.stderr index 552f399a5..e30827453 100644 --- a/tests/ui/unexpected_comma.stderr +++ b/tests/ui/unexpected_comma.stderr @@ -1,4 +1,4 @@ -error: no rules expected the token `,` +error: no rules expected `,` --> tests/ui/unexpected_comma.rs:4:17 | 4 | json!({ "a" , "b": true });