1d3f
1
When I use the ? operator rust-analyzer stops showing typehints and autocompletions for the variable where it is used on.
I'm using neovim as my editor and these are the versions of rustc and rust-analyzer:
rustc 1.92.0 (ded5c06cf 2025-12-08)
rust-analyzer 0.3.1631-standalone
chrefr
2
Perhaps you have a corrupted sysroot. Try: rustup component remove rust-src then rustup component install rust-src.
1 Like
1d3f
3
I found it. I had an old version of rust-analyzer that was coming from the mason.nvim. So it was not using the latest version installed by rustup.
1 Like