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

Make select_* methods return Vec for TraitEngine #90700

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

fee1-dead
Copy link
Member

This reduces some complexity as an empty vec means no errors and non-empty vec means errors occurred.

@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 Nov 8, 2021
@fee1-dead fee1-dead marked this pull request as draft November 8, 2021 15:37
@fee1-dead
Copy link
Member Author

@bors try @rust-timer queue

@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 Nov 8, 2021
@bors
Copy link
Contributor

bors commented Nov 8, 2021

⌛ Trying commit f1126f1 with merge 3cbe0cbf58b7833e019afbf2c0254e556430c0ab...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented Nov 8, 2021

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

@rust-timer
Copy link
Collaborator

Queued 3cbe0cbf58b7833e019afbf2c0254e556430c0ab with parent 3e3890c, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (3cbe0cbf58b7833e019afbf2c0254e556430c0ab): comparison url.

Summary: This benchmark run did not return any relevant changes.

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 Nov 8, 2021
@jackh726
Copy link
Member

jackh726 commented Nov 8, 2021

Ooh I like.

@fee1-dead fee1-dead changed the title [Experiment] Make select_* methods return Vec for TraitEngine Make select_* methods return Vec for TraitEngine Nov 9, 2021
@fee1-dead fee1-dead marked this pull request as ready for review November 9, 2021 04:07
@davidtwco
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Nov 9, 2021

📌 Commit d863021 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 Nov 9, 2021
@bors
Copy link
Contributor

bors commented Nov 9, 2021

⌛ Testing commit d863021 with merge eee8b9c...

@bors
Copy link
Contributor

bors commented Nov 9, 2021

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

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 9, 2021
@bors bors merged commit eee8b9c into rust-lang:master Nov 9, 2021
@rustbot rustbot added this to the 1.58.0 milestone Nov 9, 2021
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (eee8b9c): comparison url.

Summary: This benchmark run did not return any relevant changes.

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

@rustbot label: -perf-regression

@fee1-dead fee1-dead deleted the select-returns-vec branch November 11, 2021 10:21
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 23, 2021
…twco

Make `select_*` methods return `Vec` for `TraitEngine`

This reduces some complexity as an empty vec means no errors and non-empty vec means errors occurred.
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants