Commit c32a2cd
authored
Rollup merge of #156353 - petrochenkov:selfdecl, r=mu001999
resolve: Set correct parent and expansion for `self` declarations
Follow up to #146972 and #154313.
The `parent` seems to not be used yet, it will ICE if used (#156185 uses it).
The `expn_id` is only relevant to macros 2.0, I won't bother coming up with a test.1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1548 | 1548 | | |
1549 | 1549 | | |
1550 | 1550 | | |
1551 | | - | |
1552 | | - | |
1553 | | - | |
1554 | | - | |
1555 | | - | |
1556 | | - | |
1557 | | - | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1558 | 1555 | | |
1559 | 1556 | | |
1560 | 1557 | | |
| |||
0 commit comments