Skip to content

Rollup of 8 pull requests - #86348

Merged
bors merged 20 commits into
rust-lang:masterfrom
JohnTitor:rollup-o6a6k67
Jun 16, 2021
Merged

Rollup of 8 pull requests#86348
bors merged 20 commits into
rust-lang:masterfrom
JohnTitor:rollup-o6a6k67

Conversation

@JohnTitor

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

qwerty01and others added 20 commits June 10, 2021 11:28
Fix some awkward wording in the `core::option` documentation in the
"Options and pointers" section.
Fix a typo/missed replacement in the documentation for
`impl From<&Option<T>> for Option<&T>` in `core::option`.
Previously, coverage tests were writing profiler data to files based on
their pid. As rustdoc spawns each doctest as its own process, it might
be possible in rare cases that a pid is being reused which would cause
a file to be overwritten, leading to incorrect coverage results.
Avoid possible filename collision in coverage tests
Previously, coverage tests were writing profiler data to files based on
their pid. As rustdoc spawns each doctest as its own process, it might
be possible in rare cases that a pid is being reused which would cause
a file to be overwritten, leading to incorrect coverage results.
should help with rust-lang#83262
r? `@tmandry`
Updates `Clone` docs for `Copy` comparison.
Quite a few people (myself included) have come under the impression that the difference between `Copy` and `Clone` is that `Copy` is cheap and `Clone` is expensive, where the actual difference is that `Copy` constrains the type to bit-wise copying, and `Clone` allows for more expensive operations. The source of this misconception is in the `Clone` docs, where the following line is in the description:
> Differs from `Copy` in that `Copy` is implicit and extremely inexpensive, while `Clone` is always explicit and may or may not be expensive.
The `Clone` documentation page also comes up before the `Copy` page on google when searching for "the difference between `Clone` and `Copy`".
This PR updates the documentation to clarify that "extremely inexpensive" means an "inexpensive bit-wise copy" to hopefully prevent future rust users from falling into this misunderstanding.
fix minor wording/typo issues in core::option docs
These are just minor wording or typo things I came across while making other edits.
…ce, r=oli-obk
rustdoc- dont ICE on `ConstEvaluatable` predicates
Fixesrust-lang#77647
rustdoc doesn't need to be handling these as you cant write them, they just get added implicitly when you write a where clause containing an expression.
Add a regression test for issue-76510
Fixed by rust-lang#78407, closesrust-lang#76510
r? ``@oli-obk``
…, r=jsha
Allow to run only a few GUI tests
It allows to specify only one (or more) GUI tests. Considering the tests are not super fast to run, this is very useful for development.
cc `@Mark-Simulacrum`
r? `@jsha`
…s, r=Mark-Simulacrum
Remove some duplicate `char` assoc items on RELEASES.md
They were stabilized on 1.52 but 1.53's note also has them mistakenly.
Originally reported on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/241545-t-release/topic/incorrect.20relnotes).
@rustbotrustbot added the rollup A PR which is a rollup label Jun 16, 2021
@JohnTitor

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=8

@bors

bors commented Jun 16, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 59ffa34 has been approved by JohnTitor

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jun 16, 2021
@bors

bors commented Jun 16, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 59ffa34 with merge 52b2286...

@bors

bors commented Jun 16, 2021

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: JohnTitor
Pushing 52b2286 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Jun 16, 2021
@bors
bors merged commit 52b2286 into rust-lang:masterJun 16, 2021
@rustbotrustbot added this to the 1.55.0 milestone Jun 16, 2021
@JohnTitor
JohnTitor deleted the rollup-o6a6k67 branch June 16, 2021 07:23
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupS-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.

8 participants

@JohnTitor@bors@rustbot@qwerty01@tlyu@BoxyUwU@GuillaumeGomez@Swatinem