Slow compile times for promotion of [(); usize::MAX]
#77062
Labels
A-const-eval
Area: Constant evaluation (MIR interpretation)
C-bug
Category: This is a bug.
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
I-compiletime
Issue: Problems and improvements with respect to compile times.
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.
I tried this code:
I expected to see this happen: code compiles in a reasonable amount of times or the slice gets elided entirely.
Instead, this happened: code takes multiple minutes to compile/gets killed by the playground.
Meta
rustc --version --verbose
:Also tested on playground stable and nightly.
The text was updated successfully, but these errors were encountered: