-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Type aliases do not work in #[repr(...)] for C-style enums #10374
Comments
Apparently you can use |
@bjz, if you are interfacing with C, you want |
@huonw Could you give an example? |
Discussion on IRC revealed that @bjz is defining an enum wrapper around a series of |
Triage: I believe we've gotten more restrictive with what can go inside of |
Triage: no change. |
I'm not sure we expect to support type aliases and other "expressions" in |
IMO, this should be closed, with an RFC dedicated to the idea should somebody want to seriously pursue this. (Although I think it's a bad idea). |
Closing per @Havvy's request and motivation and @steveklabnik's note from 2015. |
The text was updated successfully, but these errors were encountered: