-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Wishlist: marker for open-ended enums #943
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hey, I think that putting out a new RFC for something like this might like up with 2017's goals, considering how it'll make a much-desired feature for enums simple instead of cryptic (via What do people think? |
There's quite a bit of interesting discussion in rust-lang/rust/issues/32770; worth taking a look at if anyone is planning to write an RFC. |
I'd be more than willing to modify the existing RFC that was postponed to change the dedicated syntax to a special attribute. Mostly I'm just curious if it'd make sense to make one now or if the core team would rather make the change later. |
cc @rust-lang/lang, @clarcharr seems willing to drive an RFC on this topic. Can we get a preliminary go-ahead or otherwise? |
Clarifying a bit on the idea I have: This would add an |
So I decided to write this up anyway and we'll see what people think. It's at #2008. |
Given we have an accepted RFC, I believe this issue can be closed. |
Previous RFC:
A mechanism for declaring an enum to be extensible, which prevents exhausting matching in downstream crates.
The text was updated successfully, but these errors were encountered: