Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow tuple variants with incorrect order of #[serde(default)] attributes #2561

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mingun
Copy link
Contributor

@Mingun Mingun commented Aug 8, 2023

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

…ributes

(review this commit with "ignore whitespace changes" option on)
@Mingun
Copy link
Contributor Author

Mingun commented Mar 3, 2024

@dtolnay, @oli-obk, can you give some feedback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant