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