Skip to content

RFC 2008: Future-proofing enums/structs with #[non_exhaustive] attribute#45394

Merged
bors merged 5 commits intorust-lang:masterfrom
davidtwco:rfc-2008
Nov 4, 2017
Merged

RFC 2008: Future-proofing enums/structs with #[non_exhaustive] attribute#45394
bors merged 5 commits intorust-lang:masterfrom
davidtwco:rfc-2008

Conversation

@davidtwco
Copy link
Copy Markdown
Member

@davidtwco davidtwco commented Oct 19, 2017

This work-in-progress pull request contains my changes to implement RFC 2008. The related tracking issue is #44109.

As of writing, enum-related functionality is not included and there are some issues related to tuple/unit structs. Enum related tests are currently ignored.

WIP PR requested by @nikomatsakis in Gitter.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants