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

Pass suggestions as impl Iterator instead of Vec #55536

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

ljedrz
Copy link
Contributor

@ljedrz ljedrz commented Oct 31, 2018

This avoids some allocations when throwing errors, making failing faster ^^.

@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 Oct 31, 2018
@davidtwco
Copy link
Member

LGTM.

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Oct 31, 2018

📌 Commit 9ff0f33 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 Oct 31, 2018
kennytm pushed a commit to pietroalbini/rust that referenced this pull request Nov 1, 2018
…=davidtwco

Pass suggestions as impl Iterator instead of Vec

This avoids some allocations when throwing errors, making failing faster ^^.
bors added a commit that referenced this pull request Nov 1, 2018
Rollup of 13 pull requests

Successful merges:

 - #55280 (Add libproc_macro to rust-src distribution)
 - #55469 (Regression tests for issue #54477.)
 - #55504 (Use vec![x; n] instead of iter::repeat(x).take(n).collect())
 - #55522 (use String::from() instead of format!() macro to construct Strings.)
 - #55536 (Pass suggestions as impl Iterator instead of Vec)
 - #55542 (syntax: improve a few allocations)
 - #55558 (Tweak `MatcherPos::matches`)
 - #55561 (Fix double_check tests on big-endian targets)
 - #55573 (Make sure the `aws` executable is in $PATH on macOS)
 - #55574 (Use `SmallVec` within `MoveData`.)
 - #55575 (Fix invalid_const_promotion test on some archs)
 - #55578 (Made doc example of `impl Default for …` use `-> Self` instead of explicit self type)
 - #55582 (Remove unused import copy from publish_toolstate.py)
@bors bors merged commit 9ff0f33 into rust-lang:master Nov 1, 2018
@ljedrz ljedrz deleted the don't_collect_suggestions branch November 1, 2018 19:33
bors bot added a commit to rust-lang/rust-clippy that referenced this pull request Nov 1, 2018
3394: Fix clippy build failure on latest master r=Manishearth a=phansch

Caused by rust-lang/rust#55536

Co-authored-by: Philipp Hansch <dev@phansch.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants