mirror of
https://github.com/serde-rs/json.git
synced 2025-10-02 07:21:29 +00:00
Update ui tests for rustc nightly-2018-11-29
This commit is contained in:
parent
cc801bd093
commit
e9570bfe7d
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user