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
After rust-lang/rust#91161 by rust-lang/rust#92744 got merged, the new behavior for non-exhaustive enums on cast should be documented.
use othercrate::NonExhaustiveEnum; let _ = NonExhaustiveEnum::default() as u8; // This is a compile error now
Non exhaustive type documention is not reflecting that right now.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
After rust-lang/rust#91161 by rust-lang/rust#92744 got merged, the new behavior for non-exhaustive enums on cast should be documented.
Non exhaustive type documention is not reflecting that right now.
The text was updated successfully, but these errors were encountered: