mirror of
https://github.com/serde-rs/json.git
synced 2025-10-01 06:51:58 +00:00
11 lines
437 B
Plaintext
11 lines
437 B
Plaintext
error: expected type, found `""`
|
|
--> $DIR/missing_comma.rs:4:18
|
|
|
|
|
4 | json!({ "1": "" "2": "" });
|
|
| - ^^ expected type
|
|
| |
|
|
| tried to parse a type due to this type ascription
|
|
|
|
|
= note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `<expr>: <type>`
|
|
= note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
|