summaryrefslogtreecommitdiffstats
path: root/third_party/rust/serde_json/tests/ui/missing_comma.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/serde_json/tests/ui/missing_comma.stderr')
-rw-r--r--third_party/rust/serde_json/tests/ui/missing_comma.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/rust/serde_json/tests/ui/missing_comma.stderr b/third_party/rust/serde_json/tests/ui/missing_comma.stderr
new file mode 100644
index 0000000000..bafa0f8915
--- /dev/null
+++ b/third_party/rust/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)*) => {};
+ | ^