Re:Try Out Rust IDE Support in Visual Studio Code
by farnsworth on Friday August 18, 2017 @07:25PM
(#15050531)
With TS/JS, it will show this when you hover the cursor over the variable (or invoke it with a keyboard shortcut)
VS Code has a 'code lens' feature that allows extensions to display annotations above each lines of code - you can see it in action if you install e.g. the Git Blame extension.
Some language plugins use that feature to display inferred types; the Rust plugin could do the same.