serde/test_suite/tests/ui/with-variant/skip_de_tuple_field.stderr
David Tolnay 4821d09a48
Move all compile-fail tests to ui tests
The update-references.sh script makes these much easier to update in
bulk compared to compile-fail tests.
2018-11-24 15:43:19 -08:00

9 lines
261 B
Plaintext

error: variant `Tuple` cannot have both #[serde(deserialize_with)] and a field 0 marked with #[serde(skip_deserializing)]
--> $DIR/skip_de_tuple_field.rs:12:10
|
12 | #[derive(Deserialize)]
| ^^^^^^^^^^^
error: aborting due to previous error