aboutsummaryrefslogtreecommitdiff
path: root/vendor/serde_json/tests/ui/missing_comma.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/serde_json/tests/ui/missing_comma.stderr')
-rw-r--r--vendor/serde_json/tests/ui/missing_comma.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/serde_json/tests/ui/missing_comma.stderr b/vendor/serde_json/tests/ui/missing_comma.stderr
new file mode 100644
index 0000000..bafa0f8
--- /dev/null
+++ b/vendor/serde_json/tests/ui/missing_comma.stderr
@@ -0,0 +1,13 @@
+error: no rules expected the token `"2"`
+ --> tests/ui/missing_comma.rs:4:21
+ |
+4 | json!({ "1": "" "2": "" });
+ | -^^^ no rules expected this token in macro call
+ | |
+ | help: missing comma here
+ |
+note: while trying to match `,`
+ --> src/macros.rs
+ |
+ | ($e:expr , $($tt:tt)*) => {};
+ | ^