rust-analyzer.vs
rust-analyzer.vs copied to clipboard
error message: "Sequence contains no elements"
I am using VS2022 and I get this error (in message box) when I try to run it: "Sequence contains no elements" (see screen shot)
I see the same.
Same problem, found a solution yet?
Same problem, found a solution yet?
Nope. Waiting for the author @kitamstudios. Frankly, for me building / formatting is enough right now.
extension author as well as one of extns heaviest user here.
assuming it's the latest version, as mentioned in the readme - one of you'll need to send a PR - isn't difficult: fork sources do f5 from VS & debug.
or if it is time critical pay me to fix it. or i fix it when i encounter it.
so far just 1 minor pr from the community. this is one helluva entitled group of ppl that doesn't believe in giving back.
This is caused by a change to rustup seen here: https://github.com/rust-lang/rustup/pull/4270
They updated rustup show --verbose to enumerate a third line per toolchain which breaks rust-analyzer.VS with any rustup install 1.28.2 or newer. The fix is therefore pretty simple, we just need to parse 3 lines at a time instead of 2. I've sent a PR fixing this with #62 .
fix deployed to marketplace
The error message is gone, so I finally can run the program with F5.
But it seems like breakpoints aren't working. Is it by design?
verified breakpoints before release. maybe delete your .vs folder and other vs cache files.
Cleaning / rebuilding fixed the problem.