serde/test_suite/tests/ui/transparent/at_most_one.stderr
2021-10-08 02:46:15 -04:00

10 lines
227 B
Plaintext

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