[ICE]: got a pointer where a ScalarInt was expected: alloc1 #131227
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Reproduce command:
% rustc -Zmir-opt-level=3 test.rs
Affected release channels
Rust Version
rustc 1.83.0-nightly (9ff5fc4 2024-10-03)
binary: rustc
commit-hash: 9ff5fc4
commit-date: 2024-10-03
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
Current error output
No response
Backtrace
The text was updated successfully, but these errors were encountered: