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
ErlNifCharEncoding
DUMMY
enum ErlNifCharEncoding has the DUMMY variant to prevent a "univariant enum" compile error from happening.
enum ErlNifCharEncoding
rustler/rustler_sys/src/rustler_sys_api.rs
Lines 185 to 191 in b1e09e2
But this enum without this DUMMY variant no longer emits a compile error with the latest stable release of rustc. https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ee80075ae7081fe3e634f8cb402e45df
I believe that this "univariant enum" issue was fixed in rust-lang/rust#33355, which landed in rustc 1.10.0 (2016-07-07). Maybe we can mark the DUMMY variant as deprecated and remove it in the next release.
The text was updated successfully, but these errors were encountered:
This was fixed in #390, thank you for the hint :)
Sorry, something went wrong.
No branches or pull requests
enum ErlNifCharEncoding
has theDUMMY
variant to prevent a "univariant enum" compile error from happening.rustler/rustler_sys/src/rustler_sys_api.rs
Lines 185 to 191 in b1e09e2
But this enum without this
DUMMY
variant no longer emits a compile error with the latest stable release of rustc.https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ee80075ae7081fe3e634f8cb402e45df
I believe that this "univariant enum" issue was fixed in rust-lang/rust#33355, which landed in rustc 1.10.0 (2016-07-07). Maybe we can mark the
DUMMY
variant as deprecated and remove it in the next release.The text was updated successfully, but these errors were encountered: