serde/test_suite/tests/ui/conflict/flatten-skip-serializing-if.stderr
2018-12-31 21:38:13 -05:00

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