2023-08-06 00:12:38 -05:00
|
|
|
error: field must have #[serde(default)] because previous field 0 has #[serde(default)]
|
|
|
|
--> tests/ui/default-attribute/tuple_struct.rs:16:33
|
2023-07-24 13:13:39 -05:00
|
|
|
|
|
2023-08-06 00:12:38 -05:00
|
|
|
16 | struct T2(#[serde(default)] u8, u8, u8);
|
2023-07-24 13:13:39 -05:00
|
|
|
| ^^
|
|
|
|
|
2023-08-06 00:12:38 -05:00
|
|
|
error: field must have #[serde(default)] because previous field 0 has #[serde(default)]
|
|
|
|
--> tests/ui/default-attribute/tuple_struct.rs:16:37
|
2023-07-24 13:13:39 -05:00
|
|
|
|
|
2023-08-06 00:12:38 -05:00
|
|
|
16 | struct T2(#[serde(default)] u8, u8, u8);
|
2023-07-24 13:13:39 -05:00
|
|
|
| ^^
|