Skip to content

Stacked borrows: Support 2 phase borrows - #56307

Merged
bors merged 4 commits into
rust-lang:masterfrom
RalfJung:stacked-borrows-2-phase
Dec 6, 2018
Merged

Stacked borrows: Support 2 phase borrows#56307
bors merged 4 commits into
rust-lang:masterfrom
RalfJung:stacked-borrows-2-phase

Conversation

@RalfJung

Copy link
Copy Markdown
Member

Some infrastructure needed for Stacked Borrows to be able to handle 2-phase-borros.

r? @oli-obk

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 28, 2018
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Nov 28, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit dd66e8e13ead57d9c11d4563158da47bbed7b299 has been approved by oli-obk

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 28, 2018
@CentrilCentril mentioned this pull request Dec 2, 2018
@bors

bors commented Dec 2, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit dd66e8e13ead57d9c11d4563158da47bbed7b299 with merge e9a3109cea76ec8b09bc3d58c1207a473c2c318f...

@bors

bors commented Dec 2, 2018

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 2, 2018
@rust-highfive

This comment has been minimized.

@RalfJung
RalfJungforce-pushed the stacked-borrows-2-phase branch from dd66e8e to 115b0a1CompareDecember 2, 2018 11:37
@RalfJung

Copy link
Copy Markdown
MemberAuthor

That's a conflict with #56165, rebased and fixed.

@bors retry

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 2, 2018
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r=oli-obk

@bors

bors commented Dec 2, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 115b0a1fe90576a60569d72c0300724ef4556d69 has been approved by oli-obk

@bors

bors commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 115b0a1fe90576a60569d72c0300724ef4556d69 with merge bdc8c2f90392ac63903a16e3410e596787f01414...

@bors

bors commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-appveyor

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 3, 2018
@RalfJung

Copy link
Copy Markdown
MemberAuthor

RLS gets broken?

---- cmd_changing_workspace_lib_retains_bin_diagnostics stdout ----
thread 'cmd_changing_workspace_lib_retains_bin_diagnostics' panicked at 'assertion failed: `(left == right)`
left: `String("E0425")`,
right: `"unused_variables"`', src\tools\rls\tests\tests.rs:402:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
---rls-stdout---
Content-Length: 605

Can this be spurious?

@RalfJung

Copy link
Copy Markdown
MemberAuthor

I rebased, tests are working locally.

@bors r=oli-obk

@bors

bors commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
  • There's another pull request that is currently being tested, blocking this pull request: Deal with EINTR in net timeout tests #56394

@bors

bors commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 115b0a1fe90576a60569d72c0300724ef4556d69 has been approved by oli-obk

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 3, 2018
@RalfJung
RalfJungforce-pushed the stacked-borrows-2-phase branch from 115b0a1 to 9bf5e30CompareDecember 3, 2018 08:25
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r=oli-obk

@bors

bors commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 9bf5e30691a7da8a6700fc428a1e253c06f0a836 has been approved by oli-obk

@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r-

Once #56305 lands, this will fail because it'll break miri. I'll rebase and add the miri update here.

@borsbors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 3, 2018
@RalfJung
RalfJungforce-pushed the stacked-borrows-2-phase branch from 9bf5e30 to 495aee4CompareDecember 3, 2018 10:19
@RalfJung
RalfJungforce-pushed the stacked-borrows-2-phase branch from 495aee4 to e6c8e9dCompareDecember 3, 2018 12:02
@RalfJung

Copy link
Copy Markdown
MemberAuthor

Rebased

@bors r=oli-obk

@bors

bors commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit e6c8e9d has been approved by oli-obk

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 3, 2018
@bors

bors commented Dec 6, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e6c8e9d with merge 77a6a61...

bors added a commit that referenced this pull request Dec 6, 2018
Stacked borrows: Support 2 phase borrows
Some infrastructure needed for Stacked Borrows to be able to handle 2-phase-borros.
r? @oli-obk
@bors

bors commented Dec 6, 2018

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: oli-obk
Pushing 77a6a61 to master...

@bors
bors merged commit e6c8e9d into rust-lang:masterDec 6, 2018
@jethrogb

jethrogb commented Dec 7, 2018

Copy link
Copy Markdown
Contributor

On latest master:

$ git submodule update --init --recursive
fatal: reference is not a tree: 61f20761d3124f5a1b1caee8aa15637cc7f92d8e
Unable to checkout '61f20761d3124f5a1b1caee8aa15637cc7f92d8e' in submodule path 'src/tools/miri'

@jethrogb

Copy link
Copy Markdown
Contributor

@RalfJung

Copy link
Copy Markdown
MemberAuthor

That is strange, because miri was still green after this PR.

But anyway that commit is going to be in master soon.

@RalfJung

Copy link
Copy Markdown
MemberAuthor

Hm actually there was no nightly so it'll take another day at least.

But the commit is in a branch in the main repo now, instead of just a PR. That should suffice.

@RalfJungRalfJung mentioned this pull request Dec 7, 2018
@RalfJung
RalfJung deleted the stacked-borrows-2-phase branch January 9, 2019 15:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

5 participants

@RalfJung@oli-obk@bors@rust-highfive@jethrogb