aboutsummaryrefslogtreecommitdiff
path: root/vendor/serde_json/tests/ui/missing_value.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/serde_json/tests/ui/missing_value.stderr')
-rw-r--r--vendor/serde_json/tests/ui/missing_value.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/serde_json/tests/ui/missing_value.stderr b/vendor/serde_json/tests/ui/missing_value.stderr
new file mode 100644
index 0000000..9c9de99
--- /dev/null
+++ b/vendor/serde_json/tests/ui/missing_value.stderr
@@ -0,0 +1,12 @@
+error: unexpected end of macro invocation
+ --> tests/ui/missing_value.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)