Skip to content

codegen: Allow to not derive Debug on enums. #1900

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

Merged
merged 1 commit into from
Oct 16, 2020
Merged

codegen: Allow to not derive Debug on enums. #1900

merged 1 commit into from
Oct 16, 2020

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Oct 13, 2020

Fixes #1899.

This code predated all the derive machinery, and always hardcoded its
derives.

We could avoid hard-coding the other traits, but those seem
usually-useful, so leave them there for backwards compat for now.

Fixes #1899.

This code predated all the derive machinery, and always hardcoded its
derives.

We could avoid hard-coding the other traits, but those seem
usually-useful, so leave them there for backwards compat for now.
@emilio emilio merged commit a467d3e into master Oct 16, 2020
@emilio emilio deleted the no-debug-enum branch October 16, 2020 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

derive_debug(false) still derives Debug for rustified Enum
1 participant