Skip to content

Conversation

@joshlf
Copy link
Member

@joshlf joshlf commented Jan 21, 2024

Previously, these were supported, but probably technically shouldn't have been. While in practice unit-only enums have a layout which matches their discriminants, this isn't technically guaranteed without an explicit repr attribute.

Previously, these were supported, but probably technically shouldn't
have been. While in practice unit-only enums have a layout which matches
their discriminants, this isn't technically guaranteed without an
explicit repr attribute.
@joshlf joshlf requested a review from jswrenn January 21, 2024 21:44
@joshlf joshlf enabled auto-merge January 21, 2024 21:45
@joshlf joshlf added this pull request to the merge queue Jan 21, 2024
Merged via the queue into main with commit 7fd67a6 Jan 21, 2024
@joshlf joshlf deleted the from-zeroes-enum-no-repr branch January 21, 2024 23:24
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.

2 participants