blob: b0f0e4bd46ab9ddc202ceb26c82d5b3676ece602 (
plain)
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)*) => {};
| ^
|