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

Correct type inference failure uncovered by japaric #21523

Merged
merged 5 commits into from
Jan 28, 2015

Conversation

nikomatsakis
Copy link
Contributor

This also includes some miscellaneous cleanup. This is kind of a band-aid but it fixes the problems @japaric was encountering.

r? @eddyb

@nikomatsakis
Copy link
Contributor Author

The first commit was already reviewed by @brson in #21485

@flaper87
Copy link
Contributor

This looks good to me 🍰

@eddyb
Copy link
Member

eddyb commented Jan 22, 2015

@bors r+ 6bb3a29

@nikomatsakis
Copy link
Contributor Author

@bors r=eddyb 45bca4315b5150b393bd8ea8080213d5bf48e5ed

@bors
Copy link
Collaborator

bors commented Jan 23, 2015

⌛ Testing commit 45bca43 with merge fdc7ecb...

@bors
Copy link
Collaborator

bors commented Jan 23, 2015

💔 Test failed - auto-mac-64-opt

@eddyb
Copy link
Member

eddyb commented Jan 24, 2015

The compile-fail failures seem to be caused by inference getting further than before.

UFCS form. In both cases the problems came about because we were
failing to process pending trait obligations. So change code to
process pending trait obligations before coercions to ensure maximum
type information is available (and also adjust shift to do something
similar).

Fixes rust-lang#21245.
@nikomatsakis nikomatsakis force-pushed the issue-21245-japaric-ti-failure branch from 45bca43 to 8d6786c Compare January 27, 2015 14:41
@nikomatsakis
Copy link
Contributor Author

@bors r=eddyb 8d6786c

@bors
Copy link
Collaborator

bors commented Jan 27, 2015

⌛ Testing commit 8d6786c with merge 3d8a070...

@bors
Copy link
Collaborator

bors commented Jan 27, 2015

💔 Test failed - auto-mac-64-opt

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Collaborator

bors commented Jan 27, 2015

⌛ Testing commit 8d6786c with merge 92ff8ea...

bors added a commit that referenced this pull request Jan 27, 2015
…=eddyb

This also includes some miscellaneous cleanup. This is kind of a band-aid but it fixes the problems @japaric was encountering.

r? @eddyb
@bors bors merged commit 8d6786c into rust-lang:master Jan 28, 2015
@nikomatsakis nikomatsakis deleted the issue-21245-japaric-ti-failure branch March 30, 2016 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants