Skip to content

Or-patterns #449

New issue

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

Closed
lkuper opened this issue Jun 2, 2011 · 0 comments
Closed

Or-patterns #449

lkuper opened this issue Jun 2, 2011 · 0 comments
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)

Comments

@lkuper
Copy link
Contributor

lkuper commented Jun 2, 2011

It would be nice to be able to do something like:

alt (thingie) {
    case (foo)
    case (something_much_like_foo) {
        ...
    }
    ...
}

or even

case (foo | something_much_like_foo) { 
    ...
}

(Feel free to close this if it's a dup of an existing issue. I heard it was on the feature list but don't see it.)

@ghost ghost assigned marijnh Jul 8, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
musl has a different aiocb definition; netbsd and OSX have some symbol renaming, and
lwpid_t is signed on freebsd
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
POSIX AIO definitions, for BSD and Linux
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
calebzulawski added a commit to calebzulawski/rust that referenced this issue Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

2 participants