vscode-rust
vscode-rust copied to clipboard
"[rustc] mismatched types" message instead of expected/found message
Version of VSCode: 1.13 + Version of the extension: OS: Linux
When hovering over a type mismatch error I used to see expected struct Type, found struct TheTypeItShouldBe like cargo shows.
Recently I have just seen [rustc] mismatched types
This maybe a rls issue, but I am not familiar with vscode-rust's or rls's code base so I do not know.
P.S. Thanks for all the great work you have done on this extension.
@person666, Could you write steps you do and the smallest code you use please?
cargo init --binit can also be a lib- replace
println!("Hello, world!");with1isize == 1usize; - I often have to restart rls to get it to see the new project.
- hover over
1usize[rustc] mismatched typespops up .
@person666, Thank you. I'll look at it later.