-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: You can't project to field 0 of DynMetadata
because layout is weird and thinks it doesn't have fields.
#125506
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
Thanks! I have a fix for this in #124251 -- I didn't know it was possible without that change. I'll pull it out to a separate PR. |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
May 25, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
fmease
added a commit
to fmease/rust
that referenced
this issue
May 26, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
jhpratt
added a commit
to jhpratt/rust
that referenced
this issue
May 26, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
May 26, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
May 26, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
May 26, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 26, 2024
Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 26, 2024
Rollup merge of rust-lang#125508 - scottmcm:fix-125506, r=Nilstrieb Stop SRoA'ing `DynMetadata` in MIR Fixes rust-lang#125506
# 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.
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zmir-opt-level=5 -Zvalidate-mir
Program output
@rustbot label +F-ptr_metadata
The text was updated successfully, but these errors were encountered: