Skip to content

rustc_index: Add some map-like APIs to IndexVec - #89162

Merged
bors merged 1 commit into
rust-lang:masterfrom
petrochenkov:ivmap
Sep 22, 2021
Merged

rustc_index: Add some map-like APIs to IndexVec#89162
bors merged 1 commit into
rust-lang:masterfrom
petrochenkov:ivmap

Conversation

@petrochenkov

Copy link
Copy Markdown
Contributor

IndexVec is often used as a map, but its map APIs are lacking.
This PR adds a couple of useful methods.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @davidtwco

(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 22, 2021

@davidtwcodavidtwco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Sep 22, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit fbe5e5c has been approved by davidtwco

@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 22, 2021
@the8472the8472 mentioned this pull request Sep 22, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2021
Rollup of 8 pull requests
Successful merges:
- rust-lang#89036 (Fix missing `no_global_oom_handling` cfg-gating)
- rust-lang#89041 (Work around invalid DWARF bugs for fat LTO)
- rust-lang#89046 ("Fix" an overflow in byte position math)
- rust-lang#89127 (Re-enable the `src/test/debuginfo/mutex.rs` test on Windows)
- rust-lang#89133 (Fix ICE with `--cap-lints=allow` and `-Zfuel=...=0`)
- rust-lang#89162 (rustc_index: Add some map-like APIs to `IndexVec`)
- rust-lang#89164 (Document `--show-type-layout` in the rustdoc book)
- rust-lang#89170 (Disable the leak sanitizer on Macos aarch64 for now)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 91af000 into rust-lang:masterSep 22, 2021
@rustbotrustbot added this to the 1.57.0 milestone Sep 22, 2021
@petrochenkov
petrochenkov deleted the ivmap branch February 22, 2025 18:31
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

5 participants

@petrochenkov@rust-highfive@davidtwco@bors@rustbot