Skip to content

Tracking issue for RFC 3637: Guard patterns #129967

Open
@traviscross

Description

@traviscross

This is a tracking issue for XXX.

The feature gate for the issue is #![feature(guard_patterns)].

About tracking issues

Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Unresolved Questions

  • Should we allow mismatched bindings when possible in pattern disjunctions?
  • How should we refer to "guard patterns"?
### Implementation history
- [ ] https://github.com/rust-lang/rust/pull/129996
- [ ] https://github.com/rust-lang/rust/pull/133424
- [ ] https://github.com/rust-lang/rust/pull/134989

cc @max-niederman

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCF-guard_patterns`#![feature(guard_patterns)]`T-langRelevant to the language team, which will review and decide on the PR/issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions