Skip to content

Always canonicalize skolemized regions #49598

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

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Apr 2, 2018

Since ReSkolemized has the flag KEEP_IN_LOCAL_TCX, and
canonicalization is meant to ensure that flag is no longer present, it
implicitly is depending on the existence of the leak check. However,
since we want to remove that in #48407, we can no longer make that
assumption.

This is related to #48696, but does not resolve it. This does unblock that
PR, however. It could have been tacked on there, but I wanted to make
sure this is a reasonable short term approach separately from that.

r? @nikomatsakis

Since `ReSkolemized` has the flag `KEEP_IN_LOCAL_TCX`, and
canonicalization is meant to ensure that flag is no longer present, it
implicitly is depending on the existence of the leak check. However,
since we want to remove that in rust-lang#48407, we can no longer make that
assumption.

This is related to rust-lang#48696, but does not resolve it. This does unblock that
PR, however. It could have been tacked on there, but I wanted to make
sure this is a reasonable short term approach separately from that.
@sgrif sgrif force-pushed the sg-always-canonicalize-skolemized-variables branch from 7cd2749 to 0c49d63 Compare April 2, 2018 21:54
@pietroalbini pietroalbini added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 2, 2018
@nikomatsakis
Copy link
Contributor

As @sgrif and I discussed on gitter, this PR isn't actually taking the approach I expected, which was to remove the KEEP_IN_LOCAL_TCX flag from ReSkolemized.

@pietroalbini
Copy link
Member

@nikomatsakis @sgrif What's the status of this PR?

@sgrif sgrif closed this Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants