Skip to content

Rollup of 9 pull requests - #56408

Closed
Mark-Simulacrum wants to merge 25 commits into
rust-lang:masterfrom
Mark-Simulacrum:rollup
Closed

Rollup of 9 pull requests#56408
Mark-Simulacrum wants to merge 25 commits into
rust-lang:masterfrom
Mark-Simulacrum:rollup

Conversation

@Mark-Simulacrum

@Mark-SimulacrumMark-Simulacrum commented Dec 1, 2018

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

RalfJungand others added 24 commits November 28, 2018 21:22
This changes debuginfo generation to add template parameters to
generic types. With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:
<2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
<40e> DW_AT_name : (indirect string, offset: 0x375): Generic<i32>
<412> DW_AT_byte_size : 4
<413> DW_AT_alignment : 4
...
<3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
<420> DW_AT_type : <0x42a>
<424> DW_AT_name : (indirect string, offset: 0xa65e): T
Closesrust-lang#9224
We've seen sporadic QE failures in the timeout tests on this assertion:
assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);
So there's an error, but not either of the expected kinds. Adding a
format to show the kind revealed `ErrorKind::Interrupted` (`EINTR`).
For the cases that were using `read`, we can just use `read_exact` to
keep trying after interruption. For those using `recv_from`, we have to
manually loop until we get a non-interrupted result.
The previous one didn't actually use the Display&Debug bounds in any way, so I think this one is a bit more meaningful.
… r=michaelwoerister
Add template parameter debuginfo to generic types
This changes debuginfo generation to add template parameters to
generic types. With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:
<2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
<40e> DW_AT_name : (indirect string, offset: 0x375): Generic<i32>
<412> DW_AT_byte_size : 4
<413> DW_AT_alignment : 4
...
<3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
<420> DW_AT_type : <0x42a>
<424> DW_AT_name : (indirect string, offset: 0xa65e): T
Closesrust-lang#9224
…cramertj
Consider references and unions potentially inhabited during privacy-respecting inhabitedness checks
It isn't settled exactly how references to uninhabited types and unions of uninhabited types should act, but we should be more conservative here, as it's likely it will be permitted to soundly have values of such types.
This will also be more important in light of the changes at rust-lang#54125.
cc @RalfJung
update miri
This should make miri green again :)
(Includes rust-lang/miri#553)
r? @oli-obk
…ref, r=davidtwco
Refer to the second borrow as the "second borrow" in E0501.rs
Fixesrust-lang#55314.
r? @davidtwco
…kler
Deal with EINTR in net timeout tests
We've seen sporadic QE failures in the timeout tests on this assertion:
assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);
So there's an error, but not either of the expected kinds. Adding a
format to show the kind revealed `ErrorKind::Interrupted` (`EINTR`).
For the cases that were using `read`, we can just use `read_exact` to
keep trying after interruption. For those using `recv_from`, we have to
manually loop until we get a non-interrupted result.
…nSapin
Stabilize dbg!(...)
Per FCP in rust-lang#54306 (which is ~1 day from completion).
r? @SimonSapin
The PR is fairly isolated so a rollup should probably work.
…e, r=Centril
Improve the unstable book example for #[marker] trait
The previous one didn't actually use the Display&Debug bounds in any way, so I think this one is a bit more meaningful.
@Mark-Simulacrum

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=10

@bors

bors commented Dec 1, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 4f3b334 has been approved by Mark-Simulacrum

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Dec 1, 2018
@Mark-SimulacrumMark-Simulacrum changed the title Rollup of 8 pull requestsRollup of 9 pull requestsDec 1, 2018
@Mark-Simulacrum

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=10

@bors

bors commented Dec 1, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 490a1e9 has been approved by Mark-Simulacrum

@Centril

Centril commented Dec 1, 2018

Copy link
Copy Markdown
Contributor

Might want to add #56416#56401#56412 to the rollup?

@bors

bors commented Dec 1, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 490a1e9 with merge 5a0257f...

bors added a commit that referenced this pull request Dec 1, 2018
Rollup of 9 pull requests
Successful merges:
- #55010 (Add template parameter debuginfo to generic types)
- #56110 (Consider references and unions potentially inhabited during privacy-respecting inhabitedness checks)
- #56305 (update miri)
- #56372 (Refer to the second borrow as the "second borrow" in E0501.rs)
- #56394 (Deal with EINTR in net timeout tests)
- #56395 (Stabilize dbg!(...))
- #56402 (Improve the unstable book example for #56408 [marker] trait)
- #56406 (Update RLS and Rustfmt)
- #56366 (Stabilize self_in_typedefs feature)
Failed merges:
r? @ghost
@bors

bors commented Dec 1, 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 1, 2018
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@Mark-Simulacrum@bors@Centril@RalfJung@tromey@varkor@wildarch@alexreg@cuviper@scottmcm