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

typeck: resolve type vars before calling try_index_step #41578

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Apr 27, 2017

try_index_step does not resolve type variables by itself and would
fail otherwise. Also harden the failure path in confirm to cause less
confusing errors.

r? @eddyb

Fixes #41498.

beta-nominating because regression (caused by #41279).

`try_index_step` does not resolve type variables by itself and would
fail otherwise. Also harden the failure path in `confirm` to cause less
confusing errors.
@arielb1 arielb1 added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Apr 27, 2017
@eddyb
Copy link
Member

eddyb commented Apr 27, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Apr 27, 2017

📌 Commit a260df2 has been approved by eddyb

arielb1 pushed a commit to arielb1/rust that referenced this pull request Apr 27, 2017
typeck: resolve type vars before calling `try_index_step`

`try_index_step` does not resolve type variables by itself and would
fail otherwise. Also harden the failure path in `confirm` to cause less
confusing errors.

r? @eddyb

Fixes rust-lang#41498.

beta-nominating because regression (caused by rust-lang#41279).
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 27, 2017
typeck: resolve type vars before calling `try_index_step`

`try_index_step` does not resolve type variables by itself and would
fail otherwise. Also harden the failure path in `confirm` to cause less
confusing errors.

r? @eddyb

Fixes rust-lang#41498.

beta-nominating because regression (caused by rust-lang#41279).
@alexcrichton alexcrichton added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 27, 2017
@nikomatsakis nikomatsakis added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Apr 27, 2017
@nikomatsakis
Copy link
Contributor

Accepted for beta. Relatively small, regression.

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 27, 2017
typeck: resolve type vars before calling `try_index_step`

`try_index_step` does not resolve type variables by itself and would
fail otherwise. Also harden the failure path in `confirm` to cause less
confusing errors.

r? @eddyb

Fixes rust-lang#41498.

beta-nominating because regression (caused by rust-lang#41279).
bors added a commit that referenced this pull request Apr 28, 2017
Rollup of 7 pull requests

- Successful merges: #41438, #41523, #41526, #41546, #41556, #41572, #41578
- Failed merges:
@bors bors merged commit a260df2 into rust-lang:master Apr 28, 2017
bors added a commit that referenced this pull request Apr 30, 2017
refactor the handling of lvalue ops

I think I got the code into a "mostly sane" situation.

Fixes #41604.

beta-nominating because fixes regression in #41578. I think I can do a smaller fix, but the previous code is too fragile.

r? @eddyb
@brson brson mentioned this pull request May 10, 2017
@alexcrichton alexcrichton removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label May 10, 2017
bors added a commit that referenced this pull request May 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compiler panic cat_expr_unadjusted Errd (used to work)
5 participants