-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE: Rust spins when referencing associated types in where
clause
#62430
Comments
where
clausewhere
clause
There seems to be some kind of loop when evaluating
|
This used to fail in a graceful manner in 1.30:
|
This is a case of exponential explosion: With
With
With
|
@nikomatsakis I believe this is related to (not introduced in) #61754. |
Assigning to self to get an accurate bisection. |
triage: prioritizing as P-medium. removing @nagisa from assignment. reassigning to self (for the bisection if nothing else.) |
Tested with 1.73 and rustc terminates with an error, as expected, so I think this one can be closed. |
The following code broke the the text editor I was editing it in:
Version
rustc 1.35.0 (3c235d5 2019-05-20)
Minimal test case:
Output:
rustc
will print any errors that occur, but will still try to compile, hanging indefinitely at the build stage and consuming all system memory.Expected output:
Compilation failure.
The text was updated successfully, but these errors were encountered: