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

Fix region erasure issue #20582 #20707

Merged
merged 5 commits into from
Jan 8, 2015
Merged

Conversation

nikomatsakis
Copy link
Contributor

Fix an associated type ICE (#20582)

`ty_fold::erase_regions`; also erase regions whenever we normalize
associated types.
…ssing the debruijn index in so that callees could construct late-bound regions at the right depth, but then the result was cached. When the cached result was used, it might be at the wrong depth. So now we don't pass the result in and instead simply adjust the depth to match the current nesting level as we go.
@rust-highfive
Copy link
Collaborator

r? @nick29581

(rust_highfive has picked a reviewer for you, use r? to override)

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 8, 2015
@bors bors merged commit a70428a into rust-lang:master Jan 8, 2015
@nikomatsakis nikomatsakis deleted the issue-20582 branch March 30, 2016 16:14
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.

4 participants