Skip to content

type_of: use sizing_type_of to check the size of arrays #29409

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 1 commit into from
Oct 28, 2015

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Oct 27, 2015

when evaluating a recursive type, the type_of of the interior could be
still in progress, so trying to get its size would cause an ICE.

Fixes #19001

r? @eddyb

when evaluating a recursive type, the type_of of the interior could be
still in progress, so we can't use that.

Fixes rust-lang#19001
@eddyb
Copy link
Member

eddyb commented Oct 27, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 27, 2015

📌 Commit 7f772bb has been approved by eddyb

@bors
Copy link
Collaborator

bors commented Oct 28, 2015

⌛ Testing commit 7f772bb with merge a4fa065...

bors added a commit that referenced this pull request Oct 28, 2015
when evaluating a recursive type, the `type_of` of the interior could be
still in progress, so trying to get its size would cause an ICE.

Fixes #19001

r? @eddyb
@bors bors merged commit 7f772bb 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