Closed
Description
rust-analyzer version: 0.3.1186-standalone (e8e598f 2022-08-28)
rustc version: rustc 1.65.0-nightly (e1b28cd2f 2022-08-19)
relevant settings: VSCode install
Rust analyser stops working randomly in my project with the following panic message:
thread 'Worker' panicked at 'assertion failed: start <= end', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\text-size-1.1.0\src\range.rs:48:9
stack backtrace:
0: std::panicking::begin_panic_handler
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library\std\src\panicking.rs:584
1: core::panicking::panic_fmt
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library\core\src\panicking.rs:142
2: core::panicking::panic
at /rustc/4b91a6ea7258a947e59c6522cd5898e7c0a6a88f/library\core\src\panicking.rs:48
3: rust_analyzer::from_proto::text_range
4: rust_analyzer::from_proto::file_range
5: rust_analyzer::handlers::handle_inlay_hints_resolve
6: std::panicking::try
7: <F as threadpool::FnBox>::call_box
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Unfortunately it happens in a big project of mine which I cannot share the source code.