mirror of
https://github.com/serde-rs/json.git
synced 2025-10-02 15:26:00 +00:00
Update ui test suite to nightly-2022-11-16
This commit is contained in:
parent
4f194c9141
commit
ca41bdd563
@ -4,4 +4,9 @@ error: unexpected end of macro invocation
|
|||||||
4 | json!({ "a" });
|
4 | json!({ "a" });
|
||||||
| ^^^^^^^^^^^^^^ missing tokens in macro arguments
|
| ^^^^^^^^^^^^^^ missing tokens in macro arguments
|
||||||
|
|
|
|
||||||
|
note: while trying to match `@`
|
||||||
|
--> src/macros.rs
|
||||||
|
|
|
||||||
|
| (@array [$($elems:expr,)*]) => {
|
||||||
|
| ^
|
||||||
= note: this error originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
|
= note: this error originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
|
@ -5,3 +5,9 @@ error: no rules expected the token `"2"`
|
|||||||
| -^^^ no rules expected this token in macro call
|
| -^^^ no rules expected this token in macro call
|
||||||
| |
|
| |
|
||||||
| help: missing comma here
|
| help: missing comma here
|
||||||
|
|
|
||||||
|
note: while trying to match `,`
|
||||||
|
--> src/macros.rs
|
||||||
|
|
|
||||||
|
| ($e:expr , $($tt:tt)*) => {};
|
||||||
|
| ^
|
||||||
|
@ -4,4 +4,9 @@ error: unexpected end of macro invocation
|
|||||||
4 | json!({ "a" : });
|
4 | json!({ "a" : });
|
||||||
| ^^^^^^^^^^^^^^^^ missing tokens in macro arguments
|
| ^^^^^^^^^^^^^^^^ missing tokens in macro arguments
|
||||||
|
|
|
|
||||||
|
note: while trying to match `@`
|
||||||
|
--> src/macros.rs
|
||||||
|
|
|
||||||
|
| (@array [$($elems:expr,)*]) => {
|
||||||
|
| ^
|
||||||
= note: this error originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
|
= note: this error originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
|
@ -3,3 +3,9 @@ error: no rules expected the token `~`
|
|||||||
|
|
|
|
||||||
4 | json!({ "a" : ~ });
|
4 | json!({ "a" : ~ });
|
||||||
| ^ no rules expected this token in macro call
|
| ^ no rules expected this token in macro call
|
||||||
|
|
|
||||||
|
note: while trying to match meta-variable `$e:expr`
|
||||||
|
--> src/macros.rs
|
||||||
|
|
|
||||||
|
| ($e:expr , $($tt:tt)*) => {};
|
||||||
|
| ^^^^^^^
|
||||||
|
@ -3,3 +3,5 @@ error: no rules expected the token `=>`
|
|||||||
|
|
|
|
||||||
4 | json!([ true => ]);
|
4 | json!([ true => ]);
|
||||||
| ^^ no rules expected this token in macro call
|
| ^^ no rules expected this token in macro call
|
||||||
|
|
|
||||||
|
= note: while trying to match end of macro
|
||||||
|
@ -3,3 +3,5 @@ error: no rules expected the token `=>`
|
|||||||
|
|
|
|
||||||
4 | json!({ "k": true => });
|
4 | json!({ "k": true => });
|
||||||
| ^^ no rules expected this token in macro call
|
| ^^ no rules expected this token in macro call
|
||||||
|
|
|
||||||
|
= note: while trying to match end of macro
|
||||||
|
@ -3,3 +3,5 @@ error: no rules expected the token `:`
|
|||||||
|
|
|
|
||||||
4 | json!({ : true });
|
4 | json!({ : true });
|
||||||
| ^ no rules expected this token in macro call
|
| ^ no rules expected this token in macro call
|
||||||
|
|
|
||||||
|
= note: while trying to match end of macro
|
||||||
|
@ -3,3 +3,5 @@ error: no rules expected the token `,`
|
|||||||
|
|
|
|
||||||
4 | json!({ "a" , "b": true });
|
4 | json!({ "a" , "b": true });
|
||||||
| ^ no rules expected this token in macro call
|
| ^ no rules expected this token in macro call
|
||||||
|
|
|
||||||
|
= note: while trying to match end of macro
|
||||||
|
Loading…
x
Reference in New Issue
Block a user