Compiling this code caused the compiler to block #125428
Labels
C-bug
Category: This is a bug.
I-hang
Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.
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: Compilation completed to obtain binary file, or compiler returns an error.
Instead, this happened: Increased CPU and memory usage, unable to compile or exit for a long time.
Meta
rustc --version --verbose
:rustc +nightly --version --verbose
:Backtrace
RUST_BACKTRACE=1 cargo build
:The text was updated successfully, but these errors were encountered: