-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rustc takes too much time to evaluate a struct type with recursion using Rc #24600
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
Comments
Oh after Ctrl+D to kill the process, the terminal prints "error: overflow evaluating the requirement |
NB: after “resolving dependency formats” comes “translation”. |
Got
after a few minutes of trans (and an exhausted randomness pool). (1284be4 2015-04-18 on linux) |
beta.2 took several minutes but doesn't hang.
with
Maybe it's because my I'm using Windows 8.1 64 bit. |
I tested
(it seems that "-Z time-passes" is not useful in this case) |
Okay my local rustc take 10 minutes to compile now.
The thing is, last time I tried I was using a rustc without edit: fixed a miss-copy&paste |
FWIW: removing the |
Triage: today, that commit fails to compile with a... hilarious error message:
but it does so instantaneously. Considering this closed. |
Check my code here to reproduce:
bombless/bfvm-rs@ff03a10
(see that
sexp
crate)here's "-Z time-passes" output:
FWIW, 2 weeks ago rustc reported "overflow evaluating the requirement
_ : core::marker::Sized
" in a minute instead of hanging for this code.@tomaka may have other ways to reproduce this.
The text was updated successfully, but these errors were encountered: