Commit 3e0a1c0
committed
Auto merge of rust-lang#67592 - matthewjasper:cleanup-match, r=Centril
Prepare for lowering or-patterns
This is probably best reviewed commit-by-commit.
* Rustfmt `rustc_mir::build::{self, matches}`
* Remove `-Znll-dont-emit-read-for-match`
* Split `match_expr` into smaller functions
* Feature gate or-patterns in const contexts
cc rust-lang#54883
r? @CentrilFile tree
7 files changed
+276
-135
lines changed- src
- librustc_mir/build
- matches
- librustc_passes
- librustc_session
- librustc/ty
- test/ui/or-patterns
7 files changed
+276
-135
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1370 | 1370 | | |
1371 | 1371 | | |
1372 | 1372 | | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | 1373 | | |
1387 | 1374 | | |
1388 | 1375 | | |
| |||
0 commit comments