diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2025-01-25 17:20:10 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2025-04-09 10:43:23 +0200 |
| commit | f4848a71d4fa913f17b31cd9939db9bd45754e9f (patch) | |
| tree | 351aa717756ae2588cfff8194da0eac338dd4da5 /tests/codegen/patchable-function-entry | |
| parent | fb0dd6555dbcfe88b318e95b8b11ed15a67088ce (diff) | |
| download | rust-f4848a71d4fa913f17b31cd9939db9bd45754e9f.tar.gz rust-f4848a71d4fa913f17b31cd9939db9bd45754e9f.zip | |
refactor: Lower type-refs before type inference
This refactors how we deal with items in hir-def lowering. - It now lowers all of them through an "ExpressionStore" (kind of a misnomer as this point) as their so called *Signatures. - We now uniformly lower type AST into TypeRefs before type inference. - Likewise, this moves macro expansion out of type inference, resulting in a single place where we do non-defmap macro expansion. - Finally, this PR removes a lot of information from ItemTree, making the DefMap a lot less likely to be recomputed and have it only depend on actual early name resolution related information (not 100% true, we still have ADT fields in there but thats a follow up removal).
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
