Skip to content
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

Warning for casting to/from an enum with an unspecified base? #71

Open
DenialAdams opened this issue Nov 5, 2022 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@DenialAdams
Copy link
Owner

No description provided.

@DenialAdams
Copy link
Owner Author

I think an error might be more appropriate

@DenialAdams DenialAdams added the enhancement New feature or request label Dec 15, 2023
@DenialAdams
Copy link
Owner Author

This interacts poorly with generics, so :|

@DenialAdams
Copy link
Owner Author

(I mean x transmute T where T: Enum suddenly can't work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant