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

trans: callee: normalize trait_ref before use #33478

Merged
merged 1 commit into from May 9, 2016

Conversation

Projects
None yet
7 participants
@xen0n
Copy link
Contributor

xen0n commented May 7, 2016

This fixes #33436 and #33461. Ran the tests and nothing else seems to be affected.

P.S. How to write the regression test for this fix? Does this qualify as run-pass or run-make, as the test only needs to be successfully compiled to be considered passed? Will add the testcase (the minimal example in #33461 seems fit) after clarifying this.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented May 7, 2016

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pnkfelix (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.

@eddyb

This comment has been minimized.

Copy link
Member

eddyb commented May 7, 2016

r? @eddyb

Thanks for doing this 😄. As for the test, run-pass that compiles without ICE is enough.

@rust-highfive rust-highfive assigned eddyb and unassigned pnkfelix May 7, 2016

@eddyb eddyb added the beta-nominated label May 7, 2016

@xen0n xen0n force-pushed the xen0n:normalize-callee-trait-ref branch from 7dce338 to 4f22878 May 7, 2016

@xen0n xen0n changed the title trans: callee: normalize trait_ref before using trans: callee: normalize trait_ref before use May 7, 2016

@xen0n xen0n force-pushed the xen0n:normalize-callee-trait-ref branch from 4f22878 to dcdf761 May 7, 2016

@eddyb

This comment has been minimized.

Copy link
Member

eddyb commented May 7, 2016

@bors r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented May 7, 2016

📌 Commit dcdf761 has been approved by eddyb

@xen0n

This comment has been minimized.

Copy link
Contributor Author

xen0n commented May 7, 2016

Added testcase and pushed.

(Reason why the Travis CI status is gone: I made a mistake of allowing 2 blank lines after copyright header in the testcase, which I summarily fixed and re-pushed; however Travis is quick enough to create a build for the replaced commit, and haven't created one for the current commit. As the difference is only one blank line the outcome shouldn't matter, but sorry for the extra noise.)

Manishearth added a commit to Manishearth/rust that referenced this pull request May 8, 2016

Rollup merge of rust-lang#33478 - xen0n:normalize-callee-trait-ref, r…
…=eddyb

trans: callee: normalize trait_ref before use

This fixes rust-lang#33436 and rust-lang#33461. Ran the tests and nothing else seems to be affected.

P.S. How to write the regression test for this fix? Does this qualify as run-pass or run-make, as the test only needs to be successfully compiled to be considered passed? Will add the testcase (the minimal example in rust-lang#33461 seems fit) after clarifying this.

bors added a commit that referenced this pull request May 8, 2016

Auto merge of #33501 - Manishearth:rollup, r=Manishearth
Rollup of 9 pull requests

- Successful merges: #32900, #33129, #33365, #33383, #33474, #33478, #33480, #33484, #33493
- Failed merges: #33360

bors added a commit that referenced this pull request May 8, 2016

Auto merge of #33501 - Manishearth:rollup, r=Manishearth
Rollup of 9 pull requests

- Successful merges: #32900, #33129, #33365, #33383, #33474, #33478, #33480, #33484, #33493
- Failed merges: #33360
@bors

This comment has been minimized.

Copy link
Contributor

bors commented May 9, 2016

⌛️ Testing commit dcdf761 with merge 32683ce...

bors added a commit that referenced this pull request May 9, 2016

Auto merge of #33478 - xen0n:normalize-callee-trait-ref, r=eddyb
trans: callee: normalize trait_ref before use

This fixes #33436 and #33461. Ran the tests and nothing else seems to be affected.

P.S. How to write the regression test for this fix? Does this qualify as run-pass or run-make, as the test only needs to be successfully compiled to be considered passed? Will add the testcase (the minimal example in #33461 seems fit) after clarifying this.

@bors bors merged commit dcdf761 into rust-lang:master May 9, 2016

1 check passed

homu Test successful
Details

@xen0n xen0n deleted the xen0n:normalize-callee-trait-ref branch May 12, 2016

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented May 17, 2016

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented May 17, 2016

approving for backport because this fixes a regression and is very simple

nikomatsakis added a commit that referenced this pull request May 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.