Commit cbc9477
authored
Rollup merge of #54780 - scalexm:dup-predicates, r=nikomatsakis
Remove duplicate predicates in `explicit_predicates_of`
I took a more brutal approach than described in #52187. I could have used the `linked_hash_map` crate but this seems overkill, especially as we need a vec storage in the end.
r? @nikomatsakisFile tree
2 files changed
+36
-6
lines changed- src
- librustc_typeck
- test/ui/chalkify
2 files changed
+36
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
| 1640 | + | |
1640 | 1641 | | |
1641 | 1642 | | |
1642 | 1643 | | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
1643 | 1673 | | |
1644 | 1674 | | |
1645 | 1675 | | |
| |||
1649 | 1679 | | |
1650 | 1680 | | |
1651 | 1681 | | |
1652 | | - | |
| 1682 | + | |
1653 | 1683 | | |
1654 | 1684 | | |
1655 | 1685 | | |
| |||
1744 | 1774 | | |
1745 | 1775 | | |
1746 | 1776 | | |
1747 | | - | |
| 1777 | + | |
1748 | 1778 | | |
1749 | 1779 | | |
1750 | 1780 | | |
| |||
1895 | 1925 | | |
1896 | 1926 | | |
1897 | 1927 | | |
| 1928 | + | |
| 1929 | + | |
1898 | 1930 | | |
1899 | 1931 | | |
1900 | 1932 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
| 21 | + | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
0 commit comments