summaryrefslogtreecommitdiffstats
path: root/third_party/rust/serde_json/tests/ui/parse_expr.stderr
blob: cd3e1c94d101bda94465819c40f0ccb4ccdaad4f (plain)
1
2
3
4
5
6
7
8
9
10
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)*) => {};
  |      ^^^^^^^