diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-28 07:53:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-28 07:53:19 +0000 |
commit | 4741ae785257bc894cd9a61c1d5e6479074c69b6 (patch) | |
tree | ad1607d7f7018ba36a6fd2f64907fe9200bb9dd1 /crates/ra_ide/src/completion/presentation.rs | |
parent | 901edac5f13ba685f67a0f2fc45b84ae65697b8b (diff) | |
parent | cda04d20776e5b016fbce9be350bc2b9afde9f5e (diff) |
Merge #3359
3359: Remove AnalysisHost::type_of r=matklad a=edwin0cheng
This PR remove ` AnalysisHost::type_of` (It is subsume by hover now) and use `Semantics::type_of_x` to infer the type inside `hover` directly.
And this also solved a bug : Right now hovering on a string literal inside a macro will show up a `&str` popup correctly. (Except if that involved builtin macro, e.g. `println`)
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/completion/presentation.rs')
0 files changed, 0 insertions, 0 deletions