rust-analyzer/crates/query-group-macro
Lukas Wirth 1fd9520c92 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).
2025-04-09 10:43:23 +02:00
..
src refactor: Lower type-refs before type inference 2025-04-09 10:43:23 +02:00
tests refactor: Remove unnecessary Arc 2025-03-16 10:27:48 +01:00
Cargo.toml Merge pull request #19436 from lnicola/rm-rustc-hashes 2025-03-24 06:56:05 +00:00