Skip to content

Commit 42ab31f

Browse files
committed
Update ui test suite to nightly-2024-10-31
1 parent 86d933c commit 42ab31f

6 files changed

+6
-6
lines changed

tests/ui/missing_comma.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: no rules expected the token `"2"`
1+
error: no rules expected `"2"`
22
--> tests/ui/missing_comma.rs:4:21
33
|
44
4 | json!({ "1": "" "2": "" });

tests/ui/parse_expr.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: no rules expected the token `~`
1+
error: no rules expected `~`
22
--> tests/ui/parse_expr.rs:4:19
33
|
44
4 | json!({ "a" : ~ });

tests/ui/unexpected_after_array_element.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: no rules expected the token `=>`
1+
error: no rules expected `=>`
22
--> tests/ui/unexpected_after_array_element.rs:4:18
33
|
44
4 | json!([ true => ]);

tests/ui/unexpected_after_map_entry.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: no rules expected the token `=>`
1+
error: no rules expected `=>`
22
--> tests/ui/unexpected_after_map_entry.rs:4:23
33
|
44
4 | json!({ "k": true => });

tests/ui/unexpected_colon.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: no rules expected the token `:`
1+
error: no rules expected `:`
22
--> tests/ui/unexpected_colon.rs:4:13
33
|
44
4 | json!({ : true });

tests/ui/unexpected_comma.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: no rules expected the token `,`
1+
error: no rules expected `,`
22
--> tests/ui/unexpected_comma.rs:4:17
33
|
44
4 | json!({ "a" , "b": true });

0 commit comments

Comments
 (0)