mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 19:58:01 +00:00
Update ui tests to 2018 edition
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
error: variant `Unit` cannot have both #[serde(serialize_with)] and #[serde(skip_serializing)]
|
||||
--> $DIR/skip_ser_whole_variant.rs:6:5
|
||||
--> $DIR/skip_ser_whole_variant.rs:5:5
|
||||
|
|
||||
6 | / #[serde(serialize_with = "serialize_some_unit_variant")]
|
||||
7 | | #[serde(skip_serializing)]
|
||||
8 | | Unit,
|
||||
5 | / #[serde(serialize_with = "serialize_some_unit_variant")]
|
||||
6 | | #[serde(skip_serializing)]
|
||||
7 | | Unit,
|
||||
| |________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
Reference in New Issue
Block a user