about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-12-18 00:57:38 +0200
committerChayim Refael Friedman <chayimfr@gmail.com>2024-12-20 11:30:19 +0200
commitb80bb583e43181bc4a4470a2c19481583edab10b (patch)
tree3390e7f7247051f32c99b62c1842bcb623afbe57 /tests/codegen
parent5c6bae0fc0930d57dba2e279c0b67a4397b3999c (diff)
downloadrust-b80bb583e43181bc4a4470a2c19481583edab10b.tar.gz
rust-b80bb583e43181bc4a4470a2c19481583edab10b.zip
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.
Diffstat (limited to 'tests/codegen')
0 files changed, 0 insertions, 0 deletions