Skip to content

Remove unused StashKey::UnderscoreForArrayLengths - #163194

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
nnethercote:rm-StashKey-UnderscoreForArrayLengths
Sep 23, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
nnethercote:rm-StashKey-UnderscoreForArrayLengths

Conversation

@nnethercote

@nnethercote nnethercote commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

It's no longer ever used for stashing, so the code looking for it is dead.

It became dead in #141610 when generic_arg_infer was stabilized and [T; _] became valid.

r? @BoxyUwU

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 23, 2026
@rustbot

rustbot commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

BoxyUwU is currently at their maximum review capacity.
They may take a while to respond.

@rustbot

This comment has been minimized.

@BoxyUwU BoxyUwU 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.

r=me with warning fixed

View changes since this review

It's no longer ever used for stashing, so the code looking for it is
dead.

It became dead in PR 141610 when `generic_arg_infer` was stabilized and
`[T; _]` became valid.
@nnethercote
nnethercote force-pushed the rm-StashKey-UnderscoreForArrayLengths branch from 77adfa4 to 71d4ef8 Compare September 23, 2026 10:37
@nnethercote

Copy link
Copy Markdown
Contributor Author

I fixed the warning.

@bors r=BoxyUWU

@rust-bors

rust-bors Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 71d4ef8 has been approved by BoxyUWU

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 23, 2026
@BoxyUwU

BoxyUwU commented Sep 23, 2026

Copy link
Copy Markdown
Member

@bors r=BoxyUwU

@rust-bors

rust-bors Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 71d4ef8 has been approved by BoxyUwU

It is now in the queue for this repository.

rust-bors Bot pushed a commit that referenced this pull request Sep 23, 2026
…uwer

Rollup of 12 pull requests

Successful merges:

 - #162177 (Properly implement the gpu-kernel ABI for amdgpu)
 - #163168 (std: Update `wasip3` crate dependency)
 - #163179 (Cleanup offload build steps)
 - #163194 (Remove unused `StashKey::UnderscoreForArrayLengths`)
 - #163198 (rename direct_const_arg! to gca!)
 - #163205 (Remove `suggestion_for_allocator_api`)
 - #162497 (document `#[rustc_dyn_incompatible_trait]`)
 - #162702 (regression test for unconstrained const args)
 - #163191 (Enhance mutable closure suggestions with as_mut() support)
 - #163192 (Fix Typo in `std::sys::process::unix::unsupported::wait_status` Docs)
 - #163196 (Remove `DiagInner::sort_span`)
 - #163197 (Fix flt2dec build on 16-bit targets)
@rust-bors
rust-bors Bot merged commit 2524bdb into rust-lang:main Sep 23, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 23, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 23, 2026
Rollup merge of #163194 - nnethercote:rm-StashKey-UnderscoreForArrayLengths, r=BoxyUwU

Remove unused `StashKey::UnderscoreForArrayLengths`

It's no longer ever used for stashing, so the code looking for it is dead.

It became dead in #141610 when `generic_arg_infer` was stabilized and `[T; _]` became valid.

r? @BoxyUwU
@nnethercote
nnethercote deleted the rm-StashKey-UnderscoreForArrayLengths branch September 23, 2026 22:23
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. 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.

3 participants