Skip to content

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

Merged
bors merged 1 commit into
rust-lang:masterfrom
arielb1:virtual-enum
Feb 25, 2017
Merged

trans: don't ICE when trying to create ADT trans-items#40064
bors merged 1 commit into
rust-lang:masterfrom
arielb1:virtual-enum

Conversation

@arielb1

Copy link
Copy Markdown
Contributor

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

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

arielb1 commented Feb 23, 2017

Copy link
Copy Markdown
ContributorAuthor

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.
Fixesrust-lang#39823.
@nikomatsakis

Copy link
Copy Markdown
Contributor

r? @nikomatsakis -- @michaelwoerister is busy

@nikomatsakisnikomatsakis 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
Copy Markdown
Contributor

@bors r+

@bors

bors commented Feb 23, 2017

Copy link
Copy Markdown
Collaborator

📌 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.
Fixesrust-lang#39823.
Beta-nominating because regression.
r? @michaelwoerister
@eddybeddyb mentioned this pull request Feb 25, 2017
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.
Fixesrust-lang#39823.
Beta-nominating because regression.
r? @michaelwoerister
@eddybeddyb mentioned this pull request Feb 25, 2017
bors added a commit that referenced this pull request Feb 25, 2017
@bors
bors merged commit 4e2c993 into rust-lang:masterFeb 25, 2017
@brsonbrson added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Mar 9, 2017
@brsonbrson mentioned this pull request Mar 9, 2017
@alexcrichtonalexcrichton 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
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-acceptedAccepted for backporting to the compiler in the beta channel.T-compilerRelevant 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

@arielb1@nikomatsakis@bors@alexcrichton@brson@michaelwoerister