-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
types_escaping_snapshot cleanup finalization #84570
Comments
I'm not sure what's going on with that code. The comment on
but when I try to remove the impl I get lots of errors:
including from functions that are still used, like The comment was added in 57a593f - @nikomatsakis do any obvious cleanups come to mind now that types_escaping_snapshot no longer exists? |
I did remove
self.undo_log can be removed altogether?
|
Hmm |
I don't think you can remove the |
#83185 deleted types_escaping_snapshot in compiler/rustc_infer/src/infer/type_variable.rs, but there are several comments remaining referencing that function, some of which seem to indicate no longer necessary operations. This code, to my knowledge, is pretty finicky, so we will want to be careful, but there may be some performance (or at least cleanup) wins left there.
cc @jyn514
The text was updated successfully, but these errors were encountered: