rustc runs out of memory when compiling an if
statement with no block, enclosed in parentheses
#61858
Labels
C-bug
Category: This is a bug.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
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:
rustc
first outputs some error messages and then hangs up trying to allocate a large amount of memory.Playground
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: