-
Notifications
You must be signed in to change notification settings - Fork 13k
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 ICE building gluon_vm #41377
Fix ICE building gluon_vm #41377
Conversation
}); | ||
.map(|InferOk { obligations, .. }| { | ||
fulfillment_cx.borrow_mut() | ||
.register_predicate_obligations(infcx, obligations); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should be using the equivalent inh
instead... or not construct an Inherited
at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me regardless of what you choose to do with Inherited
Wait, #41325 isn't merged yet, that explains why that code looks old. What are the intended interactions between the two PRSs? |
Hmm, doesn't seem that they overlap much, but I can try to merge on top of that one. |
#41325 merged, please rebase. |
cc rust-lang#32730 -- I left exactly one instance where I wasn't sure of the right behavior.
435b789
to
93e1097
Compare
@bors r=eddyb |
📌 Commit 93e1097 has been approved by |
@bors retry Already merged |
@bors r- |
The problem was due to various places we were failing to propagate obligations. I think I got them mostly correct, but I didn't get around to writing test cases for each case.
r? @eddyb or @arielb1