summaryrefslogtreecommitdiff
path: root/vendor/serde_json/tests/ui/parse_expr.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/serde_json/tests/ui/parse_expr.stderr')
-rw-r--r--vendor/serde_json/tests/ui/parse_expr.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/serde_json/tests/ui/parse_expr.stderr b/vendor/serde_json/tests/ui/parse_expr.stderr
new file mode 100644
index 0000000..cd3e1c9
--- /dev/null
+++ b/vendor/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)*) => {};
+ | ^^^^^^^