serde/test_suite/tests/ui/transparent/at_most_one.stderr
2019-05-06 10:25:47 -07:00

10 lines
211 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 | | }
| |_^