Commit 82bc482
authored
Unrolled build for #154717
Rollup merge of #154717 - cijiugechu:fix/unsafe-binder-discriminant, r=jdonszelmann
Fix ICE in unsafe binder discriminant helpers
Forward discriminant-related helpers through `ty::UnsafeBinder` to the erased inner type, matching the existing layout behavior.
Tracking issue: #130516
Closes #154424File tree
3 files changed
+39
-1
lines changed- compiler/rustc_middle/src/ty
- tests/ui/unsafe-binders
3 files changed
+39
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1640 | 1640 | | |
1641 | 1641 | | |
1642 | 1642 | | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
1643 | 1646 | | |
1644 | 1647 | | |
1645 | 1648 | | |
| |||
1661 | 1664 | | |
1662 | 1665 | | |
1663 | 1666 | | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
1664 | 1670 | | |
1665 | 1671 | | |
1666 | 1672 | | |
| |||
1679 | 1685 | | |
1680 | 1686 | | |
1681 | 1687 | | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
1682 | 1691 | | |
1683 | 1692 | | |
1684 | 1693 | | |
| |||
1700 | 1709 | | |
1701 | 1710 | | |
1702 | 1711 | | |
1703 | | - | |
1704 | 1712 | | |
1705 | 1713 | | |
1706 | 1714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments