mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 07:21:12 +00:00
11 lines
370 B
Plaintext
11 lines
370 B
Plaintext
error: #[serde(field_identifier)] may only contain unit variants
|
|
--> tests/ui/identifier/field_tuple.rs:7:5
|
|
|
|
|
3 | #[derive(Deserialize)]
|
|
| ----------- in this derive macro expansion
|
|
...
|
|
7 | B(u8, u8),
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|