You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you go to the out.rs file, A panic is triggered:
thread 'Worker' panicked at crates/ide/src/runnables.rs:134:13:
tried adding a runnable pointing to a different file: TestMod { path: "" } for FileId(2014)
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold
3: ide::runnables::runnables
4: ide::annotations::annotations
5: ra_salsa::Cancelled::catch
6: ide::Analysis::annotations
7: rust_analyzer::handlers::request::handle_code_lens
8: std::panic::catch_unwind
9: core::ops::function::FnOnce::call_once{{vtable.shim}}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 2:19:45 PM] Request textDocument/codeLens failed.
Message: request handler panicked: tried adding a runnable pointing to a different file: TestMod { path: "" } for FileId(2014)
Code: -32603
Panic context:
The text was updated successfully, but these errors were encountered:
Here is a MRE for this bug:
When you go to the
out.rs
file, A panic is triggered:The text was updated successfully, but these errors were encountered: