Skip to content

Commit e9570bf

Browse files
committed
Update ui tests for rustc nightly-2018-11-29
1 parent cc801bd commit e9570bf

7 files changed

+7
-7
lines changed

tests/ui/missing_colon.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: unexpected end of macro invocation
22
--> $DIR/missing_colon.rs:13:5
33
|
44
13 | json!({ "a" });
5-
| ^^^^^^^^^^^^^^^ unexpected end of macro invocation
5+
| ^^^^^^^^^^^^^^^ missing tokens in macro arguments
66
|
77
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
88

tests/ui/missing_value.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: unexpected end of macro invocation
22
--> $DIR/missing_value.rs:13:5
33
|
44
13 | json!({ "a" : });
5-
| ^^^^^^^^^^^^^^^^^ unexpected end of macro invocation
5+
| ^^^^^^^^^^^^^^^^^ missing tokens in macro arguments
66
|
77
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
88

tests/ui/parse_expr.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: unexpected end of macro invocation
22
--> $DIR/parse_expr.rs:13:5
33
|
44
13 | json!({ "a" : ~ });
5-
| ^^^^^^^^^^^^^^^^^^^ unexpected end of macro invocation
5+
| ^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments
66
|
77
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
88

tests/ui/unexpected_after_array_element.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: no rules expected the token `=>`
22
--> $DIR/unexpected_after_array_element.rs:13:18
33
|
44
13 | json!([ true => ]);
5-
| ^^ no rules expected the token `=>`
5+
| ^^ no rules expected this token in macro call
66

77
error: aborting due to previous error
88

tests/ui/unexpected_after_map_entry.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: no rules expected the token `=>`
22
--> $DIR/unexpected_after_map_entry.rs:13:23
33
|
44
13 | json!({ "k": true => });
5-
| ^^ no rules expected the token `=>`
5+
| ^^ no rules expected this token in macro call
66

77
error: aborting due to previous error
88

tests/ui/unexpected_colon.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: no rules expected the token `:`
22
--> $DIR/unexpected_colon.rs:13:13
33
|
44
13 | json!({ : true });
5-
| ^ no rules expected the token `:`
5+
| ^ no rules expected this token in macro call
66

77
error: aborting due to previous error
88

tests/ui/unexpected_comma.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error: no rules expected the token `,`
22
--> $DIR/unexpected_comma.rs:13:17
33
|
44
13 | json!({ "a" , "b": true });
5-
| ^ no rules expected the token `,`
5+
| ^ no rules expected this token in macro call
66

77
error: aborting due to previous error
88

0 commit comments

Comments
 (0)