aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unexpected_comma.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unexpected_comma.stderr')
-rw-r--r--tests/ui/unexpected_comma.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/unexpected_comma.stderr b/tests/ui/unexpected_comma.stderr
new file mode 100644
index 0000000..a4309c4
--- /dev/null
+++ b/tests/ui/unexpected_comma.stderr
@@ -0,0 +1,5 @@
+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