Skip to content

Commit

Permalink
Ui test changes for trybuild 1.0.49
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 8, 2021
1 parent 733b353 commit 019b179
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rustversion = "1.0"
serde_bytes = "0.11"
serde_derive = "1.0"
serde_stacker = "0.1"
trybuild = { version = "1.0.19", features = ["diff"] }
trybuild = { version = "1.0.49", features = ["diff"] }

[workspace]
members = ["tests/crate"]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/missing_colon.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: unexpected end of macro invocation
--> $DIR/tests/ui/missing_colon.rs:4:5
--> tests/ui/missing_colon.rs:4:5
|
4 | json!({ "a" });
| ^^^^^^^^^^^^^^^ missing tokens in macro arguments
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/missing_comma.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: no rules expected the token `"2"`
--> $DIR/tests/ui/missing_comma.rs:4:21
--> tests/ui/missing_comma.rs:4:21
|
4 | json!({ "1": "" "2": "" });
| -^^^ no rules expected this token in macro call
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/missing_value.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: unexpected end of macro invocation
--> $DIR/tests/ui/missing_value.rs:4:5
--> tests/ui/missing_value.rs:4:5
|
4 | json!({ "a" : });
| ^^^^^^^^^^^^^^^^^ missing tokens in macro arguments
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/not_found.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0425]: cannot find value `x` in this scope
--> $DIR/tests/ui/not_found.rs:4:19
--> tests/ui/not_found.rs:4:19
|
4 | json!({ "a" : x });
| ^ not found in this scope
2 changes: 1 addition & 1 deletion tests/ui/parse_expr.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: no rules expected the token `~`
--> $DIR/tests/ui/parse_expr.rs:4:19
--> tests/ui/parse_expr.rs:4:19
|
4 | json!({ "a" : ~ });
| ^ no rules expected this token in macro call
2 changes: 1 addition & 1 deletion tests/ui/parse_key.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0609]: no field `s` on type `&'static str`
--> $DIR/tests/ui/parse_key.rs:4:16
--> tests/ui/parse_key.rs:4:16
|
4 | json!({ "".s : true });
| ^
2 changes: 1 addition & 1 deletion tests/ui/unexpected_after_array_element.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: no rules expected the token `=>`
--> $DIR/tests/ui/unexpected_after_array_element.rs:4:18
--> tests/ui/unexpected_after_array_element.rs:4:18
|
4 | json!([ true => ]);
| ^^ no rules expected this token in macro call
2 changes: 1 addition & 1 deletion tests/ui/unexpected_after_map_entry.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: no rules expected the token `=>`
--> $DIR/tests/ui/unexpected_after_map_entry.rs:4:23
--> tests/ui/unexpected_after_map_entry.rs:4:23
|
4 | json!({ "k": true => });
| ^^ no rules expected this token in macro call
2 changes: 1 addition & 1 deletion tests/ui/unexpected_colon.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: no rules expected the token `:`
--> $DIR/tests/ui/unexpected_colon.rs:4:13
--> tests/ui/unexpected_colon.rs:4:13
|
4 | json!({ : true });
| ^ no rules expected this token in macro call
2 changes: 1 addition & 1 deletion tests/ui/unexpected_comma.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: no rules expected the token `,`
--> $DIR/tests/ui/unexpected_comma.rs:4:17
--> tests/ui/unexpected_comma.rs:4:17
|
4 | json!({ "a" , "b": true });
| ^ no rules expected this token in macro call

0 comments on commit 019b179

Please sign in to comment.