Skip to content

trans: don't ICE when trying to create ADT trans-items #40064

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 25, 2017

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Feb 23, 2017

ADTs are translated in-place from rustc_trans::callee, so no trans-items
are needed.

This fix will be superseded by the shimmir branch, but I prefer not to
backport that to beta.

Fixes #39823.

Beta-nominating because regression.

r? @michaelwoerister

@arielb1 arielb1 added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Feb 23, 2017
@arielb1
Copy link
Contributor Author

arielb1 commented Feb 23, 2017

This fix does not handle the crate-local case yet. Now it does, with a test.

ADTs are translated in-place from rustc_trans::callee, so no trans-items
are needed.

This fix will be superseded by the shimmir branch, but I prefer not to
backport that to beta.

Fixes rust-lang#39823.
@nikomatsakis
Copy link
Contributor

r? @nikomatsakis -- @michaelwoerister is busy

@nikomatsakis nikomatsakis added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Feb 23, 2017
@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 23, 2017

📌 Commit 4e2c993 has been approved by nikomatsakis

eddyb added a commit to eddyb/rust that referenced this pull request Feb 25, 2017
trans: don't ICE when trying to create ADT trans-items

ADTs are translated in-place from rustc_trans::callee, so no trans-items
are needed.

This fix will be superseded by the shimmir branch, but I prefer not to
backport that to beta.

Fixes rust-lang#39823.

Beta-nominating because regression.

r? @michaelwoerister
eddyb added a commit to eddyb/rust that referenced this pull request Feb 25, 2017
trans: don't ICE when trying to create ADT trans-items

ADTs are translated in-place from rustc_trans::callee, so no trans-items
are needed.

This fix will be superseded by the shimmir branch, but I prefer not to
backport that to beta.

Fixes rust-lang#39823.

Beta-nominating because regression.

r? @michaelwoerister
bors added a commit that referenced this pull request Feb 25, 2017
@bors bors merged commit 4e2c993 into rust-lang:master Feb 25, 2017
@brson brson added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Mar 9, 2017
@brson brson mentioned this pull request Mar 9, 2017
@alexcrichton alexcrichton removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Mar 9, 2017
bors added a commit that referenced this pull request Mar 9, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE building protobuf-json-0.1.0, Rust 1.16 beta
6 participants