-
Notifications
You must be signed in to change notification settings - Fork 1.7k
internal error: entered unreachable code #11812
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
We're using |
Try |
No bueno |
Did you restart RA afterwards? |
@lnicola yeah. close editor, delete target dir, open project, error is there. (same stack trace with 1.56) |
It seems it fixed itself between updates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rust-analyzer version: rust-analyzer b594f9c 2022-03-21 stable
rustc version: rustc 1.58.1 (db9d1b20b 2022-01-20)
relevant settings: N/A
Project
Cargo.toml
main.rs
Expected behavior
No diagnostics shown
Actual behavior
Windows
Error-level diagnostic shown on the whole derive+enum item saying
internal error: reached unreachable code
Additionally, sometimes it (used to?) show an error about a pipe being broken.
Forgive the terrible formatting, this is how Neovim's LSP outputs stuff.
LSP Log
Linux
A hint-level diagnostic is shown on
thiserror::Error
sayingproc macro 'Error' not expanded
, not remedied by restarting the editor.Nothing is shown in the log - don't know how to get more info on this one.
Relevant reading
#10772
The text was updated successfully, but these errors were encountered: