diff options
Diffstat (limited to 'vendor/serde_json/tests/ui/missing_colon.stderr')
-rw-r--r-- | vendor/serde_json/tests/ui/missing_colon.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/serde_json/tests/ui/missing_colon.stderr b/vendor/serde_json/tests/ui/missing_colon.stderr new file mode 100644 index 0000000..1515211 --- /dev/null +++ b/vendor/serde_json/tests/ui/missing_colon.stderr @@ -0,0 +1,12 @@ +error: unexpected end of macro invocation + --> tests/ui/missing_colon.rs:4:5 + | +4 | json!({ "a" }); + | ^^^^^^^^^^^^^^ 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) |