Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-10-31
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 31, 2024
1 parent 86d933c commit 42ab31f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/ui/missing_comma.stderr
Original file line number Diff line number Diff line change
@@ -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": "" });
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/parse_expr.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error: no rules expected the token `~`
error: no rules expected `~`
--> tests/ui/parse_expr.rs:4:19
|
4 | json!({ "a" : ~ });
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/unexpected_after_array_element.stderr
Original file line number Diff line number Diff line change
@@ -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 => ]);
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/unexpected_after_map_entry.stderr
Original file line number Diff line number Diff line change
@@ -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 => });
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/unexpected_colon.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error: no rules expected the token `:`
error: no rules expected `:`
--> tests/ui/unexpected_colon.rs:4:13
|
4 | json!({ : true });
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/unexpected_comma.stderr
Original file line number Diff line number Diff line change
@@ -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 });
Expand Down

0 comments on commit 42ab31f

Please sign in to comment.