Commit cfd0d4c
authored
Rollup merge of rust-lang#156368 - aapoalas:reborrow-in-match-statement, r=Nadrieril
Fix invalid unreachable in is_known_valid_scrutinee for Reborrow
Fixes rust-lang#156304
Part of the Reborrow traits experiment rust-lang#1456122 files changed
Lines changed: 16 additions & 7 deletions
File tree
- compiler/rustc_mir_build/src/thir/pattern
- tests/ui/reborrow
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
| 366 | + | |
| 367 | + | |
373 | 368 | | |
374 | 369 | | |
375 | 370 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments