Skip to content

Cleanup: Remove needless reference in ParentHirIterator - #89078

Merged
bors merged 1 commit into
rust-lang:masterfrom
camsteffen:map-ref
Sep 22, 2021
Merged

Cleanup: Remove needless reference in ParentHirIterator#89078
bors merged 1 commit into
rust-lang:masterfrom
camsteffen:map-ref

Conversation

@camsteffen

Copy link
Copy Markdown
Contributor

It forces an intermediate binding of Map which is a Copy type.

@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? @wesleywiser

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 18, 2021
@camsteffencamsteffen changed the title Cleanup: Remove needless hir Map referenceCleanup: Remove needless reference in ParentHirIteratorSep 18, 2021
@oli-obk

Copy link
Copy Markdown
Contributor

r? @oli-obk

@bors r+ rollup

@bors

bors commented Sep 19, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 7c8f4f7 has been approved by oli-obk

@borsbors 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 Sep 19, 2021
@oli-obkoli-obk added the C-cleanup Category: PRs that clean code up or issues documenting cleanup. label Sep 19, 2021
@cjgillot

This comment has been minimized.

@bors

bors commented Sep 19, 2021

Copy link
Copy Markdown
Collaborator

💡 This pull request was already approved, no need to approve it again.

@bors

bors commented Sep 19, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 7c8f4f7 has been approved by cjgillot

@the8472the8472 mentioned this pull request Sep 21, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 21, 2021
Rollup of 12 pull requests
Successful merges:
- rust-lang#88795 (Print a note if a character literal contains a variation selector)
- rust-lang#89015 (core::ascii::escape_default: reduce struct size)
- rust-lang#89078 (Cleanup: Remove needless reference in ParentHirIterator)
- rust-lang#89086 (Stabilize `Iterator::map_while`)
- rust-lang#89096 ([bootstrap] Improve the error message when `ninja` is not found to link to installation instructions)
- rust-lang#89113 (dont `.ensure()` the `thir_abstract_const` query call in `mir_build`)
- rust-lang#89114 (Fixes a technicality regarding the size of C's `char` type)
- rust-lang#89115 (:arrow_up: rust-analyzer)
- rust-lang#89126 (Fix ICE when `indirect_structural_match` is allowed)
- rust-lang#89141 (Impl `Error` for `FromSecsError` without foreign type)
- rust-lang#89142 (Fix match for placeholder region)
- rust-lang#89147 (add case for checking const refs in check_const_value_eq)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 9f50c87 into rust-lang:masterSep 22, 2021
@rustbotrustbot added this to the 1.57.0 milestone Sep 22, 2021
@camsteffen
camsteffen deleted the map-ref branch September 22, 2021 01:04
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 28, 2021
Cleanup: Remove needless reference in ParentHirIterator
It forces an intermediate binding of `Map` which is a Copy type.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 28, 2021
Rollup of 12 pull requests
Successful merges:
- rust-lang#88795 (Print a note if a character literal contains a variation selector)
- rust-lang#89015 (core::ascii::escape_default: reduce struct size)
- rust-lang#89078 (Cleanup: Remove needless reference in ParentHirIterator)
- rust-lang#89086 (Stabilize `Iterator::map_while`)
- rust-lang#89096 ([bootstrap] Improve the error message when `ninja` is not found to link to installation instructions)
- rust-lang#89113 (dont `.ensure()` the `thir_abstract_const` query call in `mir_build`)
- rust-lang#89114 (Fixes a technicality regarding the size of C's `char` type)
- rust-lang#89115 (:arrow_up: rust-analyzer)
- rust-lang#89126 (Fix ICE when `indirect_structural_match` is allowed)
- rust-lang#89141 (Impl `Error` for `FromSecsError` without foreign type)
- rust-lang#89142 (Fix match for placeholder region)
- rust-lang#89147 (add case for checking const refs in check_const_value_eq)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.S-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.

7 participants

@camsteffen@rust-highfive@oli-obk@bors@cjgillot@wesleywiser@rustbot