mirror of
https://github.com/serde-rs/json.git
synced 2025-10-02 23:35:59 +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
|
--> $DIR/missing_colon.rs:13:5
|
||||||
|
|
|
|
||||||
13 | json!({ "a" });
|
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)
|
= 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
|
--> $DIR/missing_value.rs:13:5
|
||||||
|
|
|
|
||||||
13 | json!({ "a" : });
|
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)
|
= 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
|
--> $DIR/parse_expr.rs:13:5
|
||||||
|
|
|
|
||||||
13 | json!({ "a" : ~ });
|
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)
|
= 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
|
--> $DIR/unexpected_after_array_element.rs:13:18
|
||||||
|
|
|
|
||||||
13 | json!([ true => ]);
|
13 | json!([ true => ]);
|
||||||
| ^^ no rules expected the token `=>`
|
| ^^ no rules expected this token in macro call
|
||||||
|
|
||||||
error: aborting due to previous error
|
error: aborting due to previous error
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ error: no rules expected the token `=>`
|
|||||||
--> $DIR/unexpected_after_map_entry.rs:13:23
|
--> $DIR/unexpected_after_map_entry.rs:13:23
|
||||||
|
|
|
|
||||||
13 | json!({ "k": true => });
|
13 | json!({ "k": true => });
|
||||||
| ^^ no rules expected the token `=>`
|
| ^^ no rules expected this token in macro call
|
||||||
|
|
||||||
error: aborting due to previous error
|
error: aborting due to previous error
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ error: no rules expected the token `:`
|
|||||||
--> $DIR/unexpected_colon.rs:13:13
|
--> $DIR/unexpected_colon.rs:13:13
|
||||||
|
|
|
|
||||||
13 | json!({ : true });
|
13 | json!({ : true });
|
||||||
| ^ no rules expected the token `:`
|
| ^ no rules expected this token in macro call
|
||||||
|
|
||||||
error: aborting due to previous error
|
error: aborting due to previous error
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ error: no rules expected the token `,`
|
|||||||
--> $DIR/unexpected_comma.rs:13:17
|
--> $DIR/unexpected_comma.rs:13:17
|
||||||
|
|
|
|
||||||
13 | json!({ "a" , "b": true });
|
13 | json!({ "a" , "b": true });
|
||||||
| ^ no rules expected the token `,`
|
| ^ no rules expected this token in macro call
|
||||||
|
|
||||||
error: aborting due to previous error
|
error: aborting due to previous error
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user