Skip to content

Add ParseCallbacks method to override enum type representation#3400

Open
DanielEScherzer wants to merge 1 commit into
rust-lang:mainfrom
DanielEScherzer:enum_type_override
Open

Add ParseCallbacks method to override enum type representation#3400
DanielEScherzer wants to merge 1 commit into
rust-lang:mainfrom
DanielEScherzer:enum_type_override

Conversation

@DanielEScherzer

Copy link
Copy Markdown

Introduce ParseCallbacks::enum_type_override() to override the type used to represent an enum to force it to be a specific integer kind.

Fixes #2711

Introduce `ParseCallbacks::enum_type_override()` to override the type used to
represent an enum to force it to be a specific integer kind.

Fixes rust-lang#2711
@DanielEScherzer

Copy link
Copy Markdown
Author

@rustbot label +A-enums

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot override integer type of constified enum module.

2 participants