Commit 47d3d12
committed
Auto merge of rust-lang#145186 - camsteffen:assoc-impl-kind, r=petrochenkov
Make `AssocItem` aware of its impl kind
The general goal is to have fewer query dependencies by making `AssocItem` aware of its parent impl kind (inherent vs. trait) without having to query the parent def_kind.
See individual commits.2 files changed
+18
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1612 | 1612 | | |
1613 | 1613 | | |
1614 | 1614 | | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
1619 | | - | |
| 1615 | + | |
1620 | 1616 | | |
1621 | 1617 | | |
1622 | 1618 | | |
| |||
1636 | 1632 | | |
1637 | 1633 | | |
1638 | 1634 | | |
1639 | | - | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
1640 | 1639 | | |
1641 | | - | |
1642 | 1640 | | |
1643 | 1641 | | |
1644 | 1642 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
1079 | | - | |
1080 | | - | |
| 1079 | + | |
| 1080 | + | |
1081 | 1081 | | |
1082 | | - | |
1083 | | - | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1084 | 1088 | | |
1085 | | - | |
1086 | | - | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1087 | 1094 | | |
1088 | 1095 | | |
1089 | 1096 | | |
| |||
1100 | 1107 | | |
1101 | 1108 | | |
1102 | 1109 | | |
1103 | | - | |
1104 | 1110 | | |
1105 | 1111 | | |
1106 | 1112 | | |
| |||
0 commit comments