mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-28 05:21:05 +00:00
10 lines
309 B
Plaintext
10 lines
309 B
Plaintext
error: #[serde(flatten)] can not be combined with #[serde(skip_serializing_if = "...")]
|
|
--> $DIR/flatten-skip-serializing-if.rs:5:5
|
|
|
|
|
5 | / #[serde(flatten, skip_serializing_if = "Option::is_none")]
|
|
6 | | other: Option<Other>,
|
|
| |________________________^
|
|
|
|
error: aborting due to previous error
|
|
|