2018-11-29 00:01:17 -06:00
|
|
|
error: #[serde(flatten)] can not be combined with #[serde(skip_serializing_if = "...")]
|
|
|
|
--> $DIR/flatten-skip-serializing-if.rs:6:5
|
2018-11-24 17:52:15 -06:00
|
|
|
|
|
2018-11-29 00:01:17 -06:00
|
|
|
6 | / #[serde(flatten, skip_serializing_if = "Option::is_none")]
|
|
|
|
7 | | other: Option<Other>,
|
|
|
|
| |________________________^
|
2018-11-24 17:37:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|