json/tests/ui/missing_comma.stderr
2024-10-30 19:18:57 -07:00

14 lines
367 B
Plaintext

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)*) => {};
| ^