Stream: t-compiler/rust-analyzer

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 added the necessary groundwork for associated types support

Last update: Jul 27 2021 at 21:15UTC