Commit 98b11c8
Auto merge of rust-lang#7170 - flip1995:revert_drop_order, r=llogiq
Fix stack overflow issue in `redundant_pattern_matching`
Fixes rust-lang#7169
~~cc `@Jarcho` Since tomorrow is release day and we need to get this also fixed in beta, I'll just revert the PR instead of looking into the root issue. Your changes are good, so if you have an idea what could cause this stack overflow and know how to fix it, please open a PR that reverts this revert with a fix.~~
r? `@llogiq`
changelog: none (fixes stack overflow, but this was introduced in this release cycle)1 parent 7c7683c commit 98b11c8
File tree
3 files changed
+31
-4
lines changed- clippy_lints/src
- tests/ui/crashes
3 files changed
+31
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1712 | 1712 | | |
1713 | 1713 | | |
1714 | 1714 | | |
| 1715 | + | |
1715 | 1716 | | |
1716 | 1717 | | |
1717 | 1718 | | |
| |||
1739 | 1740 | | |
1740 | 1741 | | |
1741 | 1742 | | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
1742 | 1750 | | |
1743 | 1751 | | |
1744 | 1752 | | |
| |||
1750 | 1758 | | |
1751 | 1759 | | |
1752 | 1760 | | |
1753 | | - | |
1754 | | - | |
| 1761 | + | |
| 1762 | + | |
1755 | 1763 | | |
1756 | 1764 | | |
1757 | 1765 | | |
1758 | | - | |
| 1766 | + | |
1759 | 1767 | | |
1760 | 1768 | | |
1761 | 1769 | | |
| |||
1772 | 1780 | | |
1773 | 1781 | | |
1774 | 1782 | | |
1775 | | - | |
| 1783 | + | |
1776 | 1784 | | |
1777 | 1785 | | |
1778 | 1786 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments