rust-analyzer/docs
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
..
dev Address the feedback from pascalkuthe 2024-12-10 13:01:23 +02:00
user Show substitution where hovering over generic things 2024-12-20 11:30:19 +02:00