Skip to content

add #[rustc_pass_by_value] to more types#94737

Merged
bors merged 1 commit into
rust-lang:masterfrom
lcnr:pass-stuff-by-value
Mar 10, 2022
Merged

add #[rustc_pass_by_value] to more types#94737
bors merged 1 commit into
rust-lang:masterfrom
lcnr:pass-stuff-by-value

Conversation

@lcnr

@lcnr lcnr commented Mar 8, 2022

Copy link
Copy Markdown
Contributor

the only interesting changes here should be to TransitiveRelation, but I believe to be highly unlikely that we will ever use a non Copy type with this type.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Mar 8, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occurred in src/tools/clippy.

cc @rust-lang/clippy

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @davidtwco

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 8, 2022
@davidtwco

Copy link
Copy Markdown
Member

r=me if you don't want to do a perf run here (I assume that perf is the motivation)

@lcnr

lcnr commented Mar 9, 2022

Copy link
Copy Markdown
Contributor Author

@bors try @rust-timer queue

perf wasn't really the intention, it was mostly to remove a bunch of & and *, but perf can be impacted here

@rust-timer

Copy link
Copy Markdown
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Mar 9, 2022
@bors

bors commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

⌛ Trying commit b8135fd with merge d861784f75d3058217714691c183160e5de9b759...

@bors

bors commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

☀️ Try build successful - checks-actions
Build commit: d861784f75d3058217714691c183160e5de9b759 (d861784f75d3058217714691c183160e5de9b759)

@rust-timer

Copy link
Copy Markdown
Collaborator

Queued d861784f75d3058217714691c183160e5de9b759 with parent 163c207, future comparison URL.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (d861784f75d3058217714691c183160e5de9b759): comparison url.

Summary: This benchmark run did not return any relevant results. 38 results were found to be statistically significant but too small to be relevant.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR led to changes in compiler perf.

@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf -perf-regression

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Mar 9, 2022
@lcnr

lcnr commented Mar 9, 2022

Copy link
Copy Markdown
Contributor Author

a bunch of small improvements

@bors r=davidtwco rollup=never

@bors

bors commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit b8135fd has been approved by davidtwco

@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 Mar 9, 2022
@bors

bors commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b8135fd with merge f29bd67b2454a59fed4825e34bba326a20fc5e8c...

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@bors

bors commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b8135fd with merge 52164d07d2c5c5eec6c1b20788c11ec847465523...

@bors

bors commented Mar 9, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@bors bors 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 Mar 9, 2022
@lcnr

lcnr commented Mar 9, 2022

Copy link
Copy Markdown
Contributor Author

is that one spurious? Can't seem to find the runner which was causing the failure

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
.......... (60/61)
.          (61/61)


/checkout/src/test/rustdoc-gui/mobile.goml mobile... FAILED
[ERROR] (line 27) Error: Evaluation failed: assert didn't fail: for command `compare-elements-position-near-false: ("#preferred-light-theme .setting-name", "#preferred-light-theme .choice", {"y": 16})`
Build completed unsuccessfully in 0:00:21

@nikic nikic mentioned this pull request Mar 9, 2022
@nikic

nikic commented Mar 9, 2022

Copy link
Copy Markdown
Contributor

@bors retry

@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 Mar 9, 2022
@bors

bors commented Mar 10, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b8135fd with merge 85ce7fd...

@bors

bors commented Mar 10, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: davidtwco
Pushing 85ce7fd to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Mar 10, 2022
@bors bors merged commit 85ce7fd into rust-lang:master Mar 10, 2022
@rustbot rustbot added this to the 1.61.0 milestone Mar 10, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (85ce7fd): comparison url.

Summary: This benchmark run did not return any relevant results. 38 results were found to be statistically significant but too small to be relevant.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

@lcnr lcnr deleted the pass-stuff-by-value branch March 10, 2022 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants