serde/test_suite/tests/ui/with-variant/skip_de_tuple_field.stderr
David Tolnay 58b3af4c29
Copyright/license headers
The following changes are included:

- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
  pseudo-copyright line), leaving only the text of the MIT license.

Nothing about the license of Serde code has changed, only our
understanding of how to correctly communicate that license has changed.

This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2018-11-24 15:53:09 -08:00

9 lines
256 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:4:10
|
4 | #[derive(Deserialize)]
| ^^^^^^^^^^^
error: aborting due to previous error