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