Uh oh!
There was an error while loading. Please reload this page.
Queryify Vtable methods - #45137
Conversation
rust-highfive
commented
Oct 9, 2017
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
nikomatsakis
left a comment
There was a problem hiding this comment.
Looks good! Left a few minor suggestions.
There was a problem hiding this comment.
Returning Rc<Vec<Option<..>>> would be better.
There was a problem hiding this comment.
Right! I had that change before, I should re-apply that patch.
There was a problem hiding this comment.
This need not be public anymore.
There was a problem hiding this comment.
🤦 Yep, Another one that I'll do real quick.
theotherjimmy
commented
Oct 9, 2017
@nikomatsakis Thanks for the review. I corrected all of the minor suggestions. |
6225f8a to
cb7e101Comparenikomatsakis
commented
Oct 9, 2017
@bors r+ |
bors
commented
Oct 9, 2017
📌 Commit cb7e101 has been approved by |
bors
commented
Oct 11, 2017
⌛ Testing commit cb7e1016e48ca77277d82d427971c0988ccda497 with merge e66fd14c879d45c57f5c293e922a72de6b666a0d... |
bors
commented
Oct 11, 2017
💔 Test failed - status-travis |
theotherjimmy
commented
Oct 11, 2017
I don't think this is my fault: |
kennytm
commented
Oct 11, 2017
@bors retry
|
bors
commented
Oct 12, 2017
☔ The latest upstream changes (presumably #44967) made this pull request unmergeable. Please resolve the merge conflicts. |
aidanhs
commented
Oct 12, 2017
@bors r=nikomatsakis |
bors
commented
Oct 12, 2017
📌 Commit 09258e7 has been approved by |
aidanhs
commented
Oct 12, 2017
Wait @bors r- |
theotherjimmy
commented
Oct 12, 2017
Well, the good is that I can reproduce the problem. The bad is that I have no idea why it's happening. |
It seems like the macro that implements the provider structure, |
theotherjimmy
commented
Oct 12, 2017
@nikomatsakis@michaelwoerister This change set now includes a big change to plumbing.rs, which should be scrutinized. |
There was a problem hiding this comment.
This change looks fine. It does mean we lose the ability to have modifiers that adjust the type of a query's field. At present, we are not using this capability (we used to be...), so that's probably ok, but we could also just lift the recursion-limit, right?
I'm ok either way, but let's also rebase and remove the merge commit.
theotherjimmy
commented
Oct 13, 2017
Rebasing. Just a moment. |
34cefbd to
fcb8bc9Comparetheotherjimmy
commented
Oct 13, 2017
@nikomatsakis rebase complete. Merge commit removed. |
nikomatsakis
commented
Oct 13, 2017
@bors r+ |
bors
commented
Oct 13, 2017
📌 Commit fcb8bc9 has been approved by |
bors
commented
Oct 14, 2017
…akis Queryify Vtable methods This query might come with a downside: It converts an iterator to a Vec, which may increase the working set of rustc on programs that use many many traits (I think that's where this is used).
bors
commented
Oct 14, 2017
☀️ Test successful - status-appveyor, status-travis |
michaelwoerister
commented
Oct 16, 2017
🎉 |
This query might come with a downside: It converts an iterator to a Vec, which may increase the working set of rustc on programs that use many many traits (I think that's where this is used).