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
In the match, the 4 variants are not ordered (B, E, C, D):
extern crate remain; #[remain::sorted] #[derive(Clone, Copy)] enum My { A, B, C, D, E, } #[remain::check] fn f(a: My) { #[remain::sorted] match a { My::A => (), My::B | My::E | My::C | My::D => (), } } fn main() { f(My::E); }
PlayGround link
... and thanks for all your cool rust stuff! I am also going through the quiz... wow! :-)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the match, the 4 variants are not ordered (B, E, C, D):
PlayGround link
... and thanks for all your cool rust stuff! I am also going through the quiz... wow! :-)
The text was updated successfully, but these errors were encountered: