-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE while translating unsupported cast #17480
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Not quite a dupe but related to #17458. |
Actually this is #17444 |
|
Both fail to compile here. |
This bug is a dupe of #17444 and can be closed |
Thanks @bkoropoff! |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jul 11, 2024
fix: pattern completions in let-stmt fix rust-lang#17480. We can write `let S { a, b } = s;` or `let Some(x) = a else {}`, so it is reasonable to allow pattern completions in `LetStmt`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rust version: 1fb838d99
The text was updated successfully, but these errors were encountered: