-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
hitting unreachable code when opening files #5640
Comments
Nightly recently changed the unstable proc-macro abi. This is likely a symptom of this. For now you can disable proc-macro support in rust-analyzer. ( |
This was referenced Aug 1, 2020
I'm getting a similar one with today's nightly. STDERR
Thanks for this awesome project and let me know if I can provide any aditional info! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS: Windows 10.
rustc: nightly-x86_64-pc-windows-gnu rustc 1.47.0-nightly (a7eff7913 2020-07-28)
I get repeating unreachable panics when I open a file. This seems to repeat for a while and then suddenly stops.
I have debug info set to 1, verbose output and experimental set to false
I've edited https://github.com/rust-analyzer/rust-analyzer/blob/5af32aeb2b83c7ae8adf3e088bf4f3691aa45eb1/crates/ra_proc_macro_srv/src/proc_macro/bridge/rpc.rs#L105
to link
Steps to reproduce:
The following panic repeatedly hits.
So, seems like something is expecting to get dispatch TokenStreamBuilder with a decode of 7.
The text was updated successfully, but these errors were encountered: