Skip to content

Use annotations on enumerations #2090

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 2 commits into from
Aug 24, 2021
Merged

Conversation

VeaaC
Copy link
Contributor

@VeaaC VeaaC commented Aug 3, 2021

This enables users to add additional derives, or prevent deriving traits.

Fixes #2076

@highfive
Copy link

highfive commented Aug 3, 2021

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@VeaaC
Copy link
Contributor Author

VeaaC commented Aug 20, 2021

warning Warning warning

* These commits modify **unsafe code**. Please review it carefully!

This change does not modify unsafe code, it's just that some new unsafe code is generated for the test set.

@emilio emilio merged commit cf6edbd into rust-lang:master Aug 24, 2021
@emilio
Copy link
Contributor

emilio commented Aug 24, 2021

Thanks!

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

Successfully merging this pull request may close these issues.

--no-derive-debug prevents even manual Debug on enumerations
3 participants