-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Compiler crashes on invalid variable definition #55587
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
rust/src/librustc_typeck/check/_match.rs Line 819 in 451987d
|
euclio
added a commit
to euclio/rust
that referenced
this issue
Nov 14, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Nov 15, 2018
add tests for some fixed ICEs Fixes rust-lang#55587. Fixes rust-lang#54348. Looks like these ICEs are already fixed in nightly, so this PR just adds tests.
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Nov 15, 2018
add tests for some fixed ICEs Fixes rust-lang#55587. Fixes rust-lang#54348. Looks like these ICEs are already fixed in nightly, so this PR just adds tests. r? @estebank
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The compiler unexpectedly crashes when I try to compile a program with an ill-formed variable definition.
I tried this code:
I expected to see this happen: Compilation error message telling me that the variable definition is ill-formed.
Instead, this happened: The compiler crashes with the following error.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: