rust-analyzer/crates/hir
Chayim Refael Friedman 55c04ab371 Refactor path lowering
And add a new diagnostic for non-`Fn` parenthesized generic args.

Path lowering started to look like a mess, with each function carrying additional parameters for the diagnostic callback (since paths can occur both in type and in expression/pattern position, and their diagnostic handling is different) and the segment index, for the diagnostics report. So I refactored it from stateless functions on `TyLoweringContext` into stateful struct, `PathLoweringContext`, that tracks the process of lowering a path from resolution til assoc types selection.
2025-02-16 19:44:50 +02:00
..
src Refactor path lowering 2025-02-16 19:44:50 +02:00
Cargo.toml Properly record meaningful imports as re-exports in symbol index 2025-01-20 14:29:11 +01:00