Skip to content
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

More whack-a-mole with scopes #905

Merged
merged 4 commits into from
Nov 25, 2024
Merged

More whack-a-mole with scopes #905

merged 4 commits into from
Nov 25, 2024

Conversation

ranjitjhala
Copy link
Contributor

push scope and apply evar solution after fold_local_ptr ...

@@ -827,9 +827,11 @@ impl<'ck, 'genv, 'tcx, M: Mode> Checker<'ck, 'genv, 'tcx, M> {
.replace_evars(&evars_sol)
.replace_bound_refts_with(|sort, _, _| infcx.define_vars(sort));

infcx.push_scope();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nilehmann does this sound right to you?

@ranjitjhala
Copy link
Contributor Author

@enjhnsn2 this fixes #899 (until next time, LOL)

@ranjitjhala ranjitjhala merged commit 27f7e7c into main Nov 25, 2024
7 checks passed
@ranjitjhala ranjitjhala deleted the issue-899 branch November 25, 2024 22:32
@enjhnsn2 enjhnsn2 mentioned this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants