-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Compiling this code caused the compiler to block #125428
Copy link
Copy link
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-hangIssue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-hangIssue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.Issue: The compiler never terminates, due to infinite loops, deadlock, livelock, etc.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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: