diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-12-18 00:57:38 +0200 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-12-20 11:30:19 +0200 |
| commit | b80bb583e43181bc4a4470a2c19481583edab10b (patch) | |
| tree | 3390e7f7247051f32c99b62c1842bcb623afbe57 /tests/codegen/patchable-function-entry | |
| parent | 5c6bae0fc0930d57dba2e279c0b67a4397b3999c (diff) | |
| download | rust-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/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
