Skip to content

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Feb 15, 2019

backport of the fix so we can get update the bootstrap compiler to a compiler that has this fix. It's very hard to do development on stage 0/1 since resolve errors often end up with an ICE before outputting any useful diagnostics.

cc @rust-lang/compiler @rust-lang/infra I would like to fast-track this backport as it severly hampers @varkor's and my rustc developments. The ICE never happens for successful compiles, only if there are errors.

Since it is very minimalistic and can easily be reverted if desired I think/hope we can skip the usual beta nomination + beta accepted steps

@rust-highfive
Copy link
Contributor

r? @steveklabnik

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

@rust-highfive
Copy link
Contributor

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 15, 2019
@oli-obk oli-obk added beta-nominated Nominated for backporting to the compiler in the beta channel. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 15, 2019
@eddyb
Copy link
Member

eddyb commented Feb 15, 2019

@bors r+

I hit this as well and was stuck using the query stack printed on ICE (when RUST_BACKTRACE=1), as it includes the paths of the items being currently type-checked (in my case).

@bors
Copy link
Collaborator

bors commented Feb 15, 2019

📌 Commit 81571bf has been approved by eddyb

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Feb 15, 2019
@Mark-Simulacrum
Copy link
Member

@oli-obk Has this patch landed on master already? I think the beta-nominated label here isn't needed since this is a patch for beta, right?

@bors p=200 unblocks priority work

@oli-obk oli-obk removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Feb 16, 2019
@oli-obk
Copy link
Contributor Author

oli-obk commented Feb 16, 2019

Has this patch landed on master already?

yes

I think the beta-nominated label here isn't needed since this is a patch for beta, right?

I guess. I removed the tag

@bors
Copy link
Collaborator

bors commented Feb 16, 2019

⌛ Testing commit 81571bf with merge 08f1073...

bors added a commit that referenced this pull request Feb 16, 2019
[beta] Fix `attempted .def_id() on invalid def: NonMacroAttr(Builtin)`

backport of the fix so we can get update the bootstrap compiler to a compiler that has this fix. It's very hard to do development on stage 0/1 since resolve errors often end up with an ICE before outputting any useful diagnostics.

cc @rust-lang/compiler @rust-lang/infra I would like to fast-track this backport as it severly hampers @varkor's and my rustc developments. The ICE never happens for successful compiles, only if there are errors.

Since it is very minimalistic and can easily be reverted if desired I think/hope we can skip the usual beta nomination + beta accepted steps
@bors
Copy link
Collaborator

bors commented Feb 16, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: eddyb
Pushing 08f1073 to beta...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Feb 16, 2019
@bors bors merged commit 81571bf into rust-lang:beta Feb 16, 2019
bors added a commit that referenced this pull request Feb 17, 2019
Bump the bootstrap compiler

This compiler includes #58501, which fixes an annoying ICE while working on rustc itself.

r? @pietroalbini
kennytm added a commit to kennytm/rust that referenced this pull request Feb 18, 2019
…albini

Bump the bootstrap compiler

This compiler includes rust-lang#58501, which fixes an annoying ICE while working on rustc itself.

r? @pietroalbini
bors added a commit that referenced this pull request Feb 18, 2019
Bump the bootstrap compiler

This compiler includes #58501, which fixes an annoying ICE while working on rustc itself.

r? @pietroalbini
@oli-obk oli-obk deleted the beta branch February 20, 2019 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants