-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Panic: no value set for FileSourceRootQuery #11357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Needs a reproduction to be actionable |
@Veykril 100% reproducible for me. In what format do you need reproduction? |
A repro for which this is reproducible, just |
for reference my Emacs init.el is here. |
So the problem here seems to be https://github.com./rust-analyzer/rust-analyzer/blob/2e124d15fb72482257c8ef10369df77ee24d6a85/crates/rust-analyzer/src/global_state.rs#L193 I expected calling a query at that part would be fishy when I implemented that... |
👋 Hi! I'm encountering this issue again in VSCode e.g.
Is there anything that could have caused this to regress again? Let me know if you think a new issue is warranted — I can try to get a reproduction but for now this is occurring while working in |
It was never fully fixed I think, the root cause is still somewhat unknown. |
#17145 should hopefully fix this for good |
Thank you! |
Happens every time I git checkout a significantly older version of my Rust project that I'm using rust-analyzer on. Using rust-analyzer via emacs and lsp.
See salsa-rs/salsa#254 : "This is a rust-analyzer bug". "Sounds like you made an input query and then tried to use it like an on-demand one. Input queries have to have a value in them before you can read one."
rust-analyzer version: (eg. output of "Rust Analyzer: Show RA Version" command)
rust-analyzer 8b779e8 2022-01-21 dev
rustc version: (eg. output of
rustc -V
)rustc 1.58.1 (db9d1b20b 2022-01-20)
The text was updated successfully, but these errors were encountered: