ICE on Rust 1.51 with min const generics and Deref<Target=[T; N]> #83704
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hi! I ran into an ICE experimenting with a wrapper that would hold a
Vec
's length. I've tried to minimize it and made it this far:Code
Meta
1.51, beta, and nightly all ICE for me:
rustc --version --verbose
:rustup run beta rustc --version --verbose
:rustup run nightly rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: