Rust-analyzer crash

I am getting a somewhat reproducible crash of rust-analyzer when using it through vscode.

thread 'Worker' panicked at 'index out of bounds: the len is 0 but the index is 0', crates/hir-ty/src/mir/eval.rs:1086:52

Is this to be expected? Is there a workaround to rust-analyzer crashing?

This is an unknown error so far, could you report it to the github issue tracker please? GitHub - rust-lang/rust-analyzer: A Rust compiler front-end for IDEs

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.