serde/test_suite/tests/ui/conflict/flatten-skip-serializing-if.stderr
2018-11-30 02:51:49 +02:00

10 lines
309 B
Plaintext

error: #[serde(flatten)] can not be combined with #[serde(skip_serializing_if = "...")]
--> $DIR/flatten-skip-serializing-if.rs:6:5
|
6 | / #[serde(flatten, skip_serializing_if = "Option::is_none")]
7 | | other: Option<Other>,
| |________________________^
error: aborting due to previous error