File: missing_comma.stderr

package info (click to toggle)
rust-serde-json 1.0.145-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: sh: 27; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 367 bytes parent folder | download | duplicates (44)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: no rules expected `"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)*) => {};
  |              ^