Allow nested alternatives in patterns #9663
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-grammar
Area: The grammar of Rust
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Feature request to allow, like,
instead of
Makes it easier to match a few inner different values deep within a common outer structure and seems like a logical extension of the existing syntax.
This might make the visual ambiguity with the binary bitwise-or
|
more pronounced, though.The text was updated successfully, but these errors were encountered: