Skip to content

Document if let guards#709

Merged
kirtchev-adacore merged 2 commits into
rust-lang:mainfrom
PLeVasseur:if-let-guards-1-95
Jul 8, 2026
Merged

Document if let guards#709
kirtchev-adacore merged 2 commits into
rust-lang:mainfrom
PLeVasseur:if-let-guards-1-95

Conversation

@PLeVasseur

@PLeVasseur PLeVasseur commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This is my attempt to carry forward #693 and incorporate the suggestions and feedback received there.

It documents if let guards on match arms as stabilized in Rust 1.95.0, covering the affected syntax, typing, scoping, evaluation, exhaustiveness, and destructor rules.

Comment thread src/expressions.rst
Comment thread src/expressions.rst Outdated
Comment thread src/expressions.rst Outdated
Comment thread src/expressions.rst Outdated
@kirtchev-adacore kirtchev-adacore added this pull request to the merge queue Jul 8, 2026
Merged via the queue into rust-lang:main with commit f7b0d87 Jul 8, 2026
3 checks passed
@rustbot rustbot mentioned this pull request Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants