rust-analyzer/crates/hir-def
Chayim Refael Friedman 89c0ffa6b0 Build source map for hir_def::TypeRefs
So that given a `TypeRef` we will be able to trace it back to source code.

This is necessary to be able to provide diagnostics for lowering to chalk tys, since the input to that is `TypeRef`.

This means that `TypeRef`s now have an identity, which means storing them in arena and not interning them, which is an unfortunate (but necessary) loss but also a pretty massive change. Luckily, because of the separation layer we have for IDE and HIR, this change never crosses the IDE boundary.
2024-10-25 06:15:04 +03:00
..
src Build source map for hir_def::TypeRefs 2024-10-25 06:15:04 +03:00
Cargo.toml Implement semitransparent hygiene 2024-10-22 21:26:56 +03:00