Uh oh!
There was an error while loading. Please reload this page.
Fix regression: account for trait methods in arg count mismatch error - #47844
Conversation
rust-highfive
commented
Jan 29, 2018
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. |
cc @estebank (Complete off-topic: I already made an earlier PR#47083, why did I get the first-time greeting from highfive?) |
CAD97
commented
Jan 29, 2018
I should probably add a test for this. I can do that about 17 hours from now when I hit the machine where I've got the repo checked out and set up already, or someone else is free to add the test case I posted in the linked issue comment. |
pnkfelix
commented
Jan 29, 2018
@CAD97 this looks great! Please squash the commits you have added when you put up the test case. r=me once the test case is added. |
estebank
commented
Jan 29, 2018
@CAD97 thank you for following up and adding a fix. I would prefer it if it had a test case in the same commit for easier historical tracking. We can wait another 8 hours for it :) |
CAD97
commented
Jan 29, 2018
Test added and squashed! r? @pnkfelix |
estebank
commented
Jan 29, 2018
|
CAD97
commented
Jan 29, 2018
Yeah, working on it |
a19e701 to
217efbbCompareThat should fix the tidy issue. or not >.> |
There was a problem hiding this comment.
Just remove line 16, line 15 will match the beginning and work as expected.
There was a problem hiding this comment.
Well, I did something wrong I guess (by putting on the tag?) https://travis-ci.org/rust-lang/rust/builds/334956316
There was a problem hiding this comment.
Yeah, just remove the [E0593] and it should pass.
CAD97
commented
Jan 30, 2018
That should be everything. |
CAD97
commented
Jan 30, 2018
Travis passed. |
estebank
commented
Jan 30, 2018
@bors r+ rollup |
bors
commented
Jan 30, 2018
📌 Commit c06c707 has been approved by |
Fix regression: account for trait methods in arg count mismatch error Fixedrust-lang#47706 (rust-lang#47706 (comment)) Original PR rust-lang#47747 missed methods on trait definitions. This edit was done in GitHub. I think I got the signature of the variant right, going by the ICE debug output and the other cases above.
Fixed#47706 (#47706 (comment))
Original PR #47747 missed methods on trait definitions.
This edit was done in GitHub. I think I got the signature of the variant right, going by the ICE debug output and the other cases above.