diff options
| author | dianne <diannes.gm@gmail.com> | 2025-06-29 21:24:25 -0700 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-06-29 21:25:53 -0700 |
| commit | 390d1be1c7eb500672f9c982e7de13ed27506aea (patch) | |
| tree | 4d38631cdace8d252671f08cb165199aaadead8c /compiler/rustc_pattern_analysis/src | |
| parent | 56283410f26472ec72a6673a1cbb2d8c4efdff15 (diff) | |
| download | rust-390d1be1c7eb500672f9c982e7de13ed27506aea.tar.gz rust-390d1be1c7eb500672f9c982e7de13ed27506aea.zip | |
update AST-to-HIR lowering examples for conditionals and loops
- `for` loops now use two `match`es for all of their bindings. I'm not sure this is the most helpful way of conveying that, but it's about as informative as before while staying brief. - `while let` and `if let` don't use `match`; they use `let` expressions in their conditions. Since `if let` no longer has significantly different desugaring and having a whole bullet point for `while` would feel redundant with `for`, I've removed those examples.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
