Commit 98416d7
Michael Wright
Remove
This unbounded case never actually happens because `all_ranges(..)` uses
the scrutinee type bounds for open ranges. Switch to our own `Bound`
enum so that we don't have this case.unimplemented!() case in matches code1 parent 830f220 commit 98416d7
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
1596 | 1595 | | |
1597 | 1596 | | |
1598 | 1597 | | |
1599 | | - | |
| 1598 | + | |
1600 | 1599 | | |
1601 | 1600 | | |
1602 | 1601 | | |
| |||
1637 | 1636 | | |
1638 | 1637 | | |
1639 | 1638 | | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
1640 | 1645 | | |
1641 | 1646 | | |
1642 | 1647 | | |
| |||
1730 | 1735 | | |
1731 | 1736 | | |
1732 | 1737 | | |
1733 | | - | |
1734 | | - | |
1735 | 1738 | | |
1736 | 1739 | | |
1737 | 1740 | | |
| |||
0 commit comments