summaryrefslogtreecommitdiffstats
path: root/third_party/rust/serde_json/tests/ui/parse_expr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/serde_json/tests/ui/parse_expr.stderr')
-rw-r--r--third_party/rust/serde_json/tests/ui/parse_expr.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/serde_json/tests/ui/parse_expr.stderr b/third_party/rust/serde_json/tests/ui/parse_expr.stderr
new file mode 100644
index 0000000000..cd3e1c94d1
--- /dev/null
+++ b/third_party/rust/serde_json/tests/ui/parse_expr.stderr
@@ -0,0 +1,11 @@
+error: no rules expected the token `~`
+ --> tests/ui/parse_expr.rs:4:19
+ |
+4 | json!({ "a" : ~ });
+ | ^ no rules expected this token in macro call
+ |
+note: while trying to match meta-variable `$e:expr`
+ --> src/macros.rs
+ |
+ | ($e:expr , $($tt:tt)*) => {};
+ | ^^^^^^^