rust-analyzer/crates/ide-assists
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 Move text-edit into ide-db 2024-10-28 14:37:41 +01:00