summaryrefslogtreecommitdiffstats
path: root/third_party/rust/serde_json/tests/ui/unexpected_comma.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/serde_json/tests/ui/unexpected_comma.stderr')
-rw-r--r--third_party/rust/serde_json/tests/ui/unexpected_comma.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rust/serde_json/tests/ui/unexpected_comma.stderr b/third_party/rust/serde_json/tests/ui/unexpected_comma.stderr
new file mode 100644
index 0000000000..552f399a50
--- /dev/null
+++ b/third_party/rust/serde_json/tests/ui/unexpected_comma.stderr
@@ -0,0 +1,7 @@
+error: no rules expected the token `,`
+ --> tests/ui/unexpected_comma.rs:4:17
+ |
+4 | json!({ "a" , "b": true });
+ | ^ no rules expected this token in macro call
+ |
+ = note: while trying to match end of macro