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

add #[rustc_pass_by_value] to more types #94737

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Mar 8, 2022

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
Collaborator

Some changes occurred in src/tools/clippy.

cc @rust-lang/clippy

@rust-highfive
Copy link
Collaborator

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
Member

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

@lcnr
Copy link
Contributor Author

lcnr commented Mar 9, 2022

@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
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
Copy link
Contributor

bors commented Mar 9, 2022

⌛ Trying commit b8135fd with merge d861784f75d3058217714691c183160e5de9b759...

@bors
Copy link
Contributor

bors commented Mar 9, 2022

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

@rust-timer
Copy link
Collaborator

Queued d861784f75d3058217714691c183160e5de9b759 with parent 163c207, future comparison URL.

@rust-timer
Copy link
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
Copy link
Contributor Author

lcnr commented Mar 9, 2022

a bunch of small improvements

@bors r=davidtwco rollup=never

@bors
Copy link
Contributor

bors commented Mar 9, 2022

📌 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
Copy link
Contributor

bors commented Mar 9, 2022

⌛ Testing commit b8135fd with merge f29bd67b2454a59fed4825e34bba326a20fc5e8c...

@rust-log-analyzer
Copy link
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
Copy link
Contributor

bors commented Mar 9, 2022

⌛ Testing commit b8135fd with merge 52164d07d2c5c5eec6c1b20788c11ec847465523...

@bors
Copy link
Contributor

bors commented Mar 9, 2022

💔 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
Copy link
Contributor Author

lcnr commented Mar 9, 2022

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

@rust-log-analyzer
Copy link
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
Copy link
Contributor

nikic commented Mar 9, 2022

@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
Copy link
Contributor

bors commented Mar 10, 2022

⌛ Testing commit b8135fd with merge 85ce7fd...

@bors
Copy link
Contributor

bors commented Mar 10, 2022

☀️ 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
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