Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unreachable code in tower-lsp dependency #446

Unanswered
sreyassabbani asked this question in Q&A
Discussion options

This issue is going to suck

So when I tried to run postgrestools start, I got this

This is a bug in Postgres Tools, not an error in your code, and we would appreciate it if you could report it along with the following information to help us fixing the issue:
Source Location: /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tower-lsp-0.20.0/src/transport.rs:120:60
Thread Name: tokio-runtime-worker
Message: internal error: entered unreachable code

Worse, not only do I enter unreachable!() (I'm assuming that macro being used is culprit here), the error appears to originate from the tower-lsp crate.

I didn't want to make an issue for this because technically the error does arise from another crate, but I thought I'd ask here what to do considering the error could happen again.

Moreover, this issue from the tower-lsp repo actually comes from the same transport.rs file that the error I had mentioned. I've linked this discussion to the tower-lsp issue too.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /