Skip to content

Fix a few overflows with associated types #29313

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

Merged
merged 2 commits into from
Oct 28, 2015

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Oct 25, 2015

This turns the crashes into overflow errors.

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Oct 27, 2015

r=me with nits fixed.

I could have added a check for explicit recursion, as irregular types
tend to cause selection errors, but I am not sufficiently sure that
cannot be bypassed.

Fixes rust-lang#22919
Fixes rust-lang#25639
Fixes rust-lang#26548
@arielb1 arielb1 force-pushed the projection-overflow branch from 9bc09fc to 1220e01 Compare October 27, 2015 14:04
@arielb1
Copy link
Contributor Author

arielb1 commented Oct 27, 2015

nits fixed

@eddyb
Copy link
Member

eddyb commented Oct 27, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 27, 2015

📌 Commit 1220e01 has been approved by eddyb

@bors
Copy link
Collaborator

bors commented Oct 28, 2015

⌛ Testing commit 1220e01 with merge 8974297...

bors added a commit that referenced this pull request Oct 28, 2015
This turns the crashes into overflow errors.

r? @eddyb
@bors bors merged commit 1220e01 into rust-lang:master Oct 28, 2015
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.

3 participants