-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Pathological case in typechecking #23977
Comments
This is presumably because we fixed |
I think this might be fixed now:
|
This is fixed, because it's no longer pathologically slow. However, it's still slow (takes seconds to compile). With 2700 lines expanded (pretty=expanded), maybe that's ok. |
This simple program takes ~1minute to compile:
The output of
-Z time-passes
looks like:And profiling using OSX looks like:
cc @pnkfelix, @nikomatsakis
This was discovered in updating cargo with a rustc from 3/26 to 4/2, so it looks like it may be a recent regression?
The text was updated successfully, but these errors were encountered: