-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: index out of bounds, usefulness #117033
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
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
What is intriguing is that the transmute doesn't fail, as it is a transmute from a 1ZST to a Never-like type, which has no representations. |
Regression in 786c94a |
🤦 Oops, fix here: #117034. Good catch! |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Oct 22, 2023
Don't crash on empty match in the `nonexhaustive_omitted_patterns` lint Oops Fixes rust-lang#117033
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 22, 2023
Rollup merge of rust-lang#117034 - Nadrieril:fix-117033, r=cjgillot Don't crash on empty match in the `nonexhaustive_omitted_patterns` lint Oops Fixes rust-lang#117033
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
File: /tmp/icemaker/72181.rs
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zcrate-attr=feature(non_exhaustive_omitted_patterns_lint) -Wnon-exhaustive-omitted-patterns
Program output
The text was updated successfully, but these errors were encountered: