Closed davidlattimore closed 3 years ago
This is a duplicate of #8686, which is fixed in current versions. Installing current stable or nightly should fix this.
Interesting that you use rust-analyzer in evcxr by the way, feel free to give feedback about the APIs!
With
rustup default beta
Cargo.toml:
and the following lib.rs
Then running
rust-analyzer diagnostics .
, I get the following panic:I also get this panic when using rust-analyzer in vscode.
This seems to have started happening with recently nightly rustc (and now also beta).
I first observed this in
rustc 1.53.0-nightly (727d10156 2021-04-27)
with the last version where I didn't see this happen beingrustc 1.53.0-nightly (7f4afdf02 2021-04-22)
.Note, it matters what version of rustc is currently in use on the system, not version rust-analyzer was compiled with.
2892 has a similar error message, however the stack looks moderately different, so I figured I'd raise a separate issue.