Stream: t-compiler/wg-rls-2.0

Topic: can't find out return type of .to_string()


matthiaskrgr (Jun 28 2019 at 11:17, on Zulip):

Hi, was trying out rust analyzer, and found out that when I have let x = String::from("hi"); and hover the x; the type information will say {unknown}, is this a bug?

matthiaskrgr (Jun 28 2019 at 11:18, on Zulip):

I'm using vs code and the ra-lsp extension

matklad (Jun 28 2019 at 11:43, on Zulip):

@matthiaskrgr that is not currently implemented, but should be added relatively soon, as https://github.com/rust-analyzer/rust-analyzer/pull/1408 added the necessary groundwork for associated types support

Last update: Nov 19 2019 at 17:35UTC