Skip to content

Rollup of 7 pull requests - #99569

Closed
Dylan-DPC wants to merge 22 commits into
rust-lang:masterfrom
Dylan-DPC:rollup-6cq0ct6
Closed

Rollup of 7 pull requests#99569
Dylan-DPC wants to merge 22 commits into
rust-lang:masterfrom
Dylan-DPC:rollup-6cq0ct6

Conversation

@Dylan-DPC

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

joboetand others added 22 commits June 30, 2022 11:48
To generate a function coverage we need at least one coverage counter,
so a coverage from unreachable blocks is retained only when some live
counters remain.
The previous implementation incorrectly retained unreachable coverage,
because it didn't account for the fact that those live counters can
belong to another function due to inlining.
These merged in rust-lang#97437 for 1.64.0, apart from the main `io_safety`
feature that stabilized in 1.63.0.
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
std: use futex-based locks on Fuchsia
This switches `Condvar` and `RwLock` to the futex-based implementation currently used on Linux and some BSDs. Additionally, `Mutex` now has its own, priority-inheriting implementation based on the mutex in Fuchsia's `libsync`. It differs from the original in that it panics instead of aborting when reentrant locking is detected.
`````@rustbot````` ping fuchsia
r? `````@m-ou-se`````
…leywiser
Fix unreachable coverage generation for inlined functions
To generate a function coverage we need at least one coverage counter,
so a coverage from unreachable blocks is retained only when some live
counters remain.
The previous implementation incorrectly retained unreachable coverage,
because it didn't account for the fact that those live counters can
belong to another function due to inlining.
Fixesrust-lang#98833.
Add `PhantomData` marker for dropck to `BTreeMap`
closesrust-lang#99408
Fix the stable version of `AsFd for Arc<T>` and `Box<T>`
These merged in rust-lang#97437 for 1.64.0, apart from the main `io_safety`
feature that stabilized in 1.63.0.
…, r=oli-obk
Normalize the arg spans to be within the call span
Makes more sense to point out the arg's span, and not the expression inside the macro
…rrors
Add regression test for rust-lang#52304Closesrust-lang#52304
r? ````@compiler-errors````
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Rewrite `orphan_check_trait_ref` to use a `TypeVisitor`
The current impl is far more confusing than it has any right to be ✨
r? rust-lang/types
@rustbotrustbot added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Jul 21, 2022
@Dylan-DPC

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Jul 21, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 9145558 has been approved by Dylan-DPC

It is now in the queue for this repository.

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jul 21, 2022
@klensy

Copy link
Copy Markdown
Contributor

This intersects with #99567

@Dylan-DPC
Dylan-DPC deleted the rollup-6cq0ct6 branch July 21, 2022 17:27
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-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

12 participants

@Dylan-DPC@bors@klensy@rustbot@joboet@tmiasko@steffahn@cuviper@compiler-errors@JohnTitor@lcnr@wesleywiser