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

Propagate obligations through projection #33822

Merged
merged 1 commit into from
May 28, 2016

Conversation

soltanmm
Copy link

Up next: generating region obligations in inference.

r? @nikomatsakis

// FIXME(#32730) propagate obligations (fn pointer vtable nested obligations ONLY come from
// unification in inference)
// FIXME(#32730) drop this assertion once obligations are propagated from inference (fn pointer
// vtable nested obligations ONLY come from unification in inference)
assert!(fn_pointer_vtable.nested.is_empty());
Copy link
Contributor

Choose a reason for hiding this comment

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

note that in the "thread vtable-closure obligations to result" commit of #33816 I fixed a bug -- probably introduced by me -- where the comparable vtable.nested obligations were being totally ignored in the fn below

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented May 24, 2016

📌 Commit 808e431 has been approved by nikomatsakis

@nikomatsakis
Copy link
Contributor

this will conflict with #33816 but the rebase should be easy enough...

Manishearth added a commit to Manishearth/rust that referenced this pull request May 28, 2016
…nikomatsakis

Propagate obligations through projection

Up next: generating region obligations in inference.

r? @nikomatsakis
bors added a commit that referenced this pull request May 28, 2016
Rollup of 15 pull requests

- Successful merges: #33820, #33821, #33822, #33824, #33825, #33831, #33832, #33848, #33849, #33852, #33854, #33856, #33859, #33860, #33861
- Failed merges:
@bors bors merged commit 808e431 into rust-lang:master May 28, 2016
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