-
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
Tuple pattern failure causes panic in Rust Analyzer debug build #17585
Comments
|
We panic on some errors in development builds. |
Oh, I see. I'll dig into this more. |
The code that calls |
That's sad 😢 |
We are already doing mismatch checks for match exhaustiveness checking, we are probably not doing the same for checking |
Edit: At first, I thought that this was regression between lastest release and
HEAD
, but this happensdebug
but not onrelease
profile 🤔rust-analyzer version:
HEAD
ofmaster
branch,ffbc5ad993d5cd2f3b8bcf9a511165470944ab91
rustc version:
rustc 1.79.0 (129f3b996 2024-06-10)
code snippet to reproduce:
Running
rust-analyzer diagnostics
on the following code inffbc5ad993d5cd2f3b8bcf9a511165470944ab91
with debug profile panics with following;while running it on the same revision with release profile works just fine;
The text was updated successfully, but these errors were encountered: