Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #115326

Merged
merged 25 commits into from
Aug 28, 2023
Merged

Rollup of 8 pull requests #115326

merged 25 commits into from
Aug 28, 2023

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

RalfJung and others added 25 commits August 24, 2023 11:38
Having a section for this inspired by the docs for array::IntoIterator
That xref contains the actual documentation for what format! does.
It should be very prominent - particularly, more so than the other
links.
it was already unused before, but due to the recursion the compiler did not realize
codegen_llvm/llvm_type: avoid matching on the Rust type

This `match` is highly suspicious. Looking at `scalar_llvm_type_at` I think it makes no difference. But if it were to make a difference that would be a huge problem, since it doesn't look through `repr(transparent)`!

Cc `@eddyb` `@bjorn3`
More precisely detect cycle errors from type_of on opaque

Not sure if this still needs work. Just putting it up for initial impressions, since it seems that a few people are frustrated with the increased error verbosity due to rust-lang#113320.

Essentially we introduce a new sub-query for `type_of` specifically for opaques which returns a value that is able to distinguish "has errors" from "due to cycle recovery".

Fixes rust-lang#115188

r? `@oli-obk`
Document panic behavior across editions, and improve xrefs

This revives (parts of) rust-lang#96518.
r? `@scottmcm`
Cc `@ijackson`
Revert "Suggest using `Arc` on `!Send`/`!Sync` types"

Closes rust-lang#114687. This is a clean revert of rust-lang#88936 + rust-lang#115210. The suggestion to Arc\<{Self}\> when Self does not implement Send is *always* wrong.

rust-lang#114842 is considering a way to make a more refined suggestion.
Devacationize oli-obk

r? `@oli-obk`

`@bors` r+ rollup
…fleLapkin

don't use SnapshotVec in Graph implementation, as it looks unused; use Vec instead

`Graph` don't use `SnapshotVec` methods, so use simple `Vec` instead?
…rors

Tweak output of `to_pretty_impl_header` involving only anon lifetimes

Do not print `impl<> Foo for &Bar`.
@rustbot rustbot added A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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. labels Aug 28, 2023
@rustbot rustbot added the rollup A PR which is a rollup label Aug 28, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=8

@bors
Copy link
Contributor

bors commented Aug 28, 2023

📌 Commit 07a32e2 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors 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 Aug 28, 2023
@bors
Copy link
Contributor

bors commented Aug 28, 2023

⌛ Testing commit 07a32e2 with merge 4e78abb...

@bors
Copy link
Contributor

bors commented Aug 28, 2023

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing 4e78abb to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 28, 2023
@bors bors merged commit 4e78abb into rust-lang:master Aug 28, 2023
@rustbot rustbot added this to the 1.74.0 milestone Aug 28, 2023
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#115164 MIR validation: reject in-place argument/return for packed … b3dd094c739ba856f5c605df2da6d9c7dead4af8 (link)
#115240 codegen_llvm/llvm_type: avoid matching on the Rust type 4373bab8e3c702585c83e782c61b3f84dd3785be (link)
#115294 More precisely detect cycle errors from type_of on opaque f354f380c7b8cfd7dfdd96085b84617fd5886771 (link)
#115310 Document panic behavior across editions, and improve xrefs 6c0be83a519f598d766ff30e13756238ba490d71 (link)
#115311 Revert "Suggest using Arc on !Send/!Sync types" 104e92738a85c8bc65c81783e28a50e55b673f5d (link)
#115317 Devacationize oli-obk 8e06ca22ebc5da176852a019b62d513403236849 (link)
#115319 don't use SnapshotVec in Graph implementation, as it looks … 316480ee00aca6e6657d64a7f9e7ee4c44ad5291 (link)
#115322 Tweak output of to_pretty_impl_header involving only anon… 515cc0e7fe24230cfb299da0859c5d05dc541ac2 (link)

previous master: 93dd620241

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (4e78abb): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-0.7% [-0.7%, -0.7%] 1
All ❌✅ (primary) - - 0

Cycles

This benchmark run did not return any relevant results for this metric.

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 631.167s -> 631.054s (-0.02%)
Artifact size: 316.30 MiB -> 316.21 MiB (-0.03%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.