We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently you can't have #[repr(C)] univariant enums like the following:
#[repr(C)]
#[repr(C)] enum Foo { Bar, }
The error message is rather cryptic because we automatically add #[repr(C)] (so it isn't shown in the error message), should we warn about this?
The text was updated successfully, but these errors were encountered:
Similarly for zero-element enum.
Sorry, something went wrong.
Closed by fc4dba1.
No branches or pull requests
Currently you can't have
#[repr(C)]
univariant enums like the following:The error message is rather cryptic because we automatically add
#[repr(C)]
(so it isn't shown in the error message), should we warn about this?The text was updated successfully, but these errors were encountered: