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

When sizing DST, don't double-count nested struct prefixes. #36351

Merged
merged 1 commit into from
Sep 10, 2016

Conversation

pnkfelix
Copy link
Member

@pnkfelix pnkfelix commented Sep 8, 2016

When computing size of struct P<T>(Q<T>), don't double-count prefix added by Q

Fix #36278. Fix #36294.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@pnkfelix
Copy link
Member Author

pnkfelix commented Sep 8, 2016

r? @eddyb

@rust-highfive rust-highfive assigned eddyb and unassigned nikomatsakis Sep 8, 2016
@eddyb
Copy link
Member

eddyb commented Sep 8, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Sep 8, 2016

📌 Commit dd570d6 has been approved by eddyb

Manishearth added a commit to Manishearth/rust that referenced this pull request Sep 10, 2016
…eddyb

When sizing DST, don't double-count nested struct prefixes.

When computing size of `struct P<T>(Q<T>)`, don't double-count prefix added by `Q`

Fix rust-lang#36278. Fix rust-lang#36294.
@bors
Copy link
Contributor

bors commented Sep 10, 2016

⌛ Testing commit dd570d6 with merge 1fca1ab...

bors added a commit that referenced this pull request Sep 10, 2016
When sizing DST, don't double-count nested struct prefixes.

When computing size of `struct P<T>(Q<T>)`, don't double-count prefix added by `Q`

Fix #36278. Fix #36294.
@bors bors merged commit dd570d6 into rust-lang:master Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants