2018-11-24 15:37:35 -08:00
|
|
|
error: variant `Unit` cannot have both #[serde(deserialize_with)] and #[serde(skip_deserializing)]
|
2018-12-31 21:36:59 -05:00
|
|
|
--> $DIR/skip_de_whole_variant.rs:5:5
|
2018-11-24 15:52:15 -08:00
|
|
|
|
|
2018-12-31 21:36:59 -05:00
|
|
|
5 | / #[serde(deserialize_with = "deserialize_some_unit_variant")]
|
|
|
|
6 | | #[serde(skip_deserializing)]
|
|
|
|
7 | | Unit,
|
2018-11-29 08:01:17 +02:00
|
|
|
| |________^
|