# \[Pre-RFC\] Multiple if-let guards (not chaining)

**URL:** <https://internals.rust-lang.org/t/pre-rfc-multiple-if-let-guards-not-chaining/13818>\
**Category:** Uncategorized\
**Created:** [January 12, 2021, 12:23pm UTC](https://internals.rust-lang.org/t/pre-rfc-multiple-if-let-guards-not-chaining/13818 "2021-01-12T12:23:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![steffahn](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/steffahn/32/13288_2.png) [@steffahn](https://internals.rust-lang.org/u/steffahn)\
**Post date:** [January 12, 2021, 1:39pm UTC](https://internals.rust-lang.org/t/pre-rfc-multiple-if-let-guards-not-chaining/13818/3 "2021-01-12T13:39:22Z")

</div>

> [@H2CO3](#):
>
> It's not clear what goal `PatternElementHelper` achieves. What are you actually trying to do, and what goes wrong?

Note that the comment/thread linked below is where this thread’s proposal came from, it helps to explain the context a bit more

> [@The Fall-Through Proposal](https://internals.rust-lang.org/t/the-fall-through-proposal/13792/3):
>
> I believe that if let guards are planned, but they always apply to the entire match arm. This restriction could be removed by requiring parentheses in some cases: match foo { A | B if bar =\> {} // is equivalent to (A | B) if bar =\> {} // This could be allowed too: (A if bar) | (B if !bar) =\> {} (A if let x = true) | (B if let x = false) =\> {} }

---

_[View the full topic](https://internals.rust-lang.org/t/pre-rfc-multiple-if-let-guards-not-chaining/13818)._
