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

Fix generation of non-existent lifetime 'de when enum contains a #[serde(flatten)] field and a 'static reference #2383

Merged
merged 2 commits into from Mar 8, 2023

Commits on Feb 27, 2023

  1. Fix generation of non-existent lifetime 'de when enum contains a #[se…

    …rde(flatten)] field and a 'static reference
    Mingun committed Feb 27, 2023
    Copy the full SHA
    c739361 View commit details
    Browse the repository at this point in the history
  2. Do not generate DeserializeSeed impl when not needed

    This function is called for untagged, internally and externally tagged enums,
    but `deserializer` parameter is `None` only for the latest. Only when it's `None`
    `DeserializeSeed` impl is used
    Mingun committed Feb 27, 2023
    Copy the full SHA
    38c130a View commit details
    Browse the repository at this point in the history