diff options
| author | bors <bors@rust-lang.org> | 2023-09-06 00:46:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-06 00:46:21 +0000 |
| commit | 25283f4e138866eed649fa6b18728c22662b2224 (patch) | |
| tree | a129aa595369e76b918a6f131bc25551d18e25ba /compiler/rustc_mir_transform/src | |
| parent | ff902fff1fcf650c9c33164cf2533e4995637fe1 (diff) | |
| parent | 89235fd8379d6b1b0bcea704e162ba3d314906da (diff) | |
| download | rust-25283f4e138866eed649fa6b18728c22662b2224.tar.gz rust-25283f4e138866eed649fa6b18728c22662b2224.zip | |
Auto merge of #115371 - matthewjasper:if-let-guard-parsing, r=cjgillot
Make if let guard parsing consistent with normal guards - Add tests that struct expressions are not allowed in `if let` and `while let` (no change, consistent with `if` and `while`) - Allow struct expressions in `if let` guards (consistent with `if` guards). r? `@cjgillot` Closes #93817 cc #51114
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
