ICE when building with --emit=mir #60390
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This occurs on 1.34.1 and 1.34.0, is a regression from 1.33.0, and does.. not occur on nightly?
Reproduction:
compiled with
RUST_BACKTRACE=1 rustc --emit=mir test.rs
Yields:
I found this in building crates like
cc
andnum-derive
but pared it down to thisThe text was updated successfully, but these errors were encountered: