Skip to content

Conversation

@edwin0cheng
Copy link
Contributor

@edwin0cheng edwin0cheng commented Feb 28, 2020

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)

@matklad
Copy link
Contributor

matklad commented Feb 28, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 28, 2020

@bors bors bot merged commit 4741ae7 into rust-lang:master Feb 28, 2020
@edwin0cheng edwin0cheng deleted the remove-hover-type-of branch February 28, 2020 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants