Re:Try Out Rust IDE Support in Visual Studio Code
by nrc on Friday August 18, 2017 @11:08PM
(#15051441)
This should work (it's my goto test case). You have to put the cursor in the erroring code to see the possible fix icon in the margin. If you don't see it please file an issue with the project you're trying this in and I'll investigate.
try this in your editor
it should figure out you wanted x == 5.