Update ui tests for rustc nightly-2018-11-29

This commit is contained in:
David Tolnay 2018-11-28 22:47:44 -08:00
parent cc801bd093
commit e9570bfe7d
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
7 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@ error: unexpected end of macro invocation
--> $DIR/missing_colon.rs:13:5
|
13 | json!({ "a" });
| ^^^^^^^^^^^^^^^ unexpected end of macro invocation
| ^^^^^^^^^^^^^^^ missing tokens in macro arguments
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

View File

@ -2,7 +2,7 @@ error: unexpected end of macro invocation
--> $DIR/missing_value.rs:13:5
|
13 | json!({ "a" : });
| ^^^^^^^^^^^^^^^^^ unexpected end of macro invocation
| ^^^^^^^^^^^^^^^^^ missing tokens in macro arguments
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

View File

@ -2,7 +2,7 @@ error: unexpected end of macro invocation
--> $DIR/parse_expr.rs:13:5
|
13 | json!({ "a" : ~ });
| ^^^^^^^^^^^^^^^^^^^ unexpected end of macro invocation
| ^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

View File

@ -2,7 +2,7 @@ error: no rules expected the token `=>`
--> $DIR/unexpected_after_array_element.rs:13:18
|
13 | json!([ true => ]);
| ^^ no rules expected the token `=>`
| ^^ no rules expected this token in macro call
error: aborting due to previous error

View File

@ -2,7 +2,7 @@ error: no rules expected the token `=>`
--> $DIR/unexpected_after_map_entry.rs:13:23
|
13 | json!({ "k": true => });
| ^^ no rules expected the token `=>`
| ^^ no rules expected this token in macro call
error: aborting due to previous error

View File

@ -2,7 +2,7 @@ error: no rules expected the token `:`
--> $DIR/unexpected_colon.rs:13:13
|
13 | json!({ : true });
| ^ no rules expected the token `:`
| ^ no rules expected this token in macro call
error: aborting due to previous error

View File

@ -2,7 +2,7 @@ error: no rules expected the token `,`
--> $DIR/unexpected_comma.rs:13:17
|
13 | json!({ "a" , "b": true });
| ^ no rules expected the token `,`
| ^ no rules expected this token in macro call
error: aborting due to previous error