serde/test_suite/tests/ui/transparent/at_most_one.stderr
2018-12-31 21:38:13 -05:00

13 lines
251 B
Plaintext

error: #[serde(transparent)] requires struct to have at most one transparent field
--> $DIR/at_most_one.rs:4:1
|
4 | / #[serde(transparent)]
5 | | struct S {
6 | | a: u8,
7 | | b: u8,
8 | | }
| |_^
error: aborting due to previous error