rust-analyzer/crates/hir
Chayim Refael Friedman b5486ffc42 Show substitution where hovering over generic things
There are few things to note in the implementation:

First, this is a best-effort implementation. Mainly, type aliases may not be shown (due to their eager nature it's harder) and partial pathes (aka. hovering over `Struct` in `Struct::method`) are not supported at all.

Second, we only need to show substitutions in expression and pattern position, because in type position all generic arguments always have to be written explicitly.
2024-12-20 11:30:19 +02:00
..
src Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00
Cargo.toml Lay the foundation for diagnostics in ty lowering, and implement a first diagnostic 2024-12-04 14:22:56 +02:00