Closed
Description
openedon Aug 14, 2022
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels