serde/test_suite/tests/ui/transparent/ser_at_least_one.stderr
2018-11-30 02:51:49 +02:00

13 lines
258 B
Plaintext

error: #[serde(transparent)] requires at least one field that is not skipped
--> $DIR/ser_at_least_one.rs:5:1
|
5 | / #[serde(transparent)]
6 | | struct S {
7 | | #[serde(skip)]
8 | | a: u8,
9 | | }
| |_^
error: aborting due to previous error