serde
serde copied to clipboard
Disallow tuple variants with incorrect order of `#[serde(default)]` attributes
Continuation of work from #2553, but expanded to tuple variants.
Actually, we should also disallow using #[serde(default)]
on elements of newtype structs and newtype variants, but this is highly coupled with skip problems, so I wait before the relevant PRs will be merged