Skip to content

[beta] backports, plus stable versions in stdarch#152187

Merged
rust-bors[bot] merged 25 commits intorust-lang:betafrom
cuviper:beta-next
Feb 13, 2026
Merged

[beta] backports, plus stable versions in stdarch#152187
rust-bors[bot] merged 25 commits intorust-lang:betafrom
cuviper:beta-next

Conversation

@cuviper
Copy link
Member

@cuviper cuviper commented Feb 5, 2026

r? cuviper

@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Feb 5, 2026
@rust-log-analyzer

This comment has been minimized.

@cuviper
Copy link
Member Author

cuviper commented Feb 5, 2026

@JonathanBrouwer
Copy link
Contributor

JonathanBrouwer commented Feb 6, 2026

You'll need to include #152194 and #152116

JonathanBrouwer and others added 2 commits February 6, 2026 08:34
@rustbot rustbot added the T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. label Feb 6, 2026
The derived `T: Copy` constraint is not appropriate for an iterator by
reference, but we generally do not want `Copy` on iterators anyway.

(cherry picked from commit 2bae85e)
This implementation doesn't need the derived `T: Clone`.

(cherry picked from commit 9052155)
(cherry picked from commit 08cd2ac)
(cherry picked from commit 8f7d556)
@cuviper
Copy link
Member Author

cuviper commented Feb 10, 2026

@bors r+ rollup=never p=1

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 10, 2026

📌 Commit e1dd1bb has been approved by cuviper

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 Feb 10, 2026
@tgross35
Copy link
Contributor

tgross35 commented Feb 10, 2026

Wasn't only the Copy change from #151613 accepted for backport?

(Only based on Zulip, I don't see anything at https://hackmd.io/03D-yhzfSp6Sf8mH9cbu0Q#Backports-rusttf151613-Align-ArrayWindows-trait-impls-with-Windows)

@cuviper
Copy link
Member Author

cuviper commented Feb 10, 2026

I believe @Amanieu decided in the meeting that we should go ahead with it all. I can definitely cut it back though if that's not the case.

@cuviper
Copy link
Member Author

cuviper commented Feb 10, 2026

Allowing time to make sure of that...

@bors r-

@rust-bors rust-bors bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 10, 2026
@tgross35
Copy link
Contributor

I don't think it matters all that much 🤷‍♂️ but figured it was worth checking

eggyal and others added 8 commits February 12, 2026 09:06
Unused assignments to an unused variable should trigger only the
`unused_variables` lint and not also the `unused_assignments` lint.
This was previously implemented by checking whether the span of the
assignee was within the span of the binding pattern, however that failed
to capture situations was imported from elsewhere (eg from the input
tokenstream of a proc-macro that generates the binding pattern).

By comparing the span of the assignee to those of the variable
introductions instead, a reported stable-to-stable regression is
resolved.

This fix also impacted some other preexisting tests, which had
(undesirably) been triggering both the `unused_variables` and
`unused_assignments` lints on the same initializing assignment; those
tests have therefore now been updated to expect only the former lint.

(cherry picked from commit 22b3f59)
(cherry picked from commit d4454e5)
aliases may be rigid even if they don't reference params. If the alias isn't well-formed, trying to normalize it as part of the input should have already failed

(cherry picked from commit 39a5324)
(cherry picked from commit 337abba)
Within a binding pattern match guard, only real reads of a bound local
impact its liveness analysis - not the fake read that is injected.

(cherry picked from commit 5aba6b1)
@rustbot rustbot added T-clippy Relevant to the Clippy team. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. labels Feb 12, 2026
@cuviper
Copy link
Member Author

cuviper commented Feb 12, 2026

@bors r+

@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 12, 2026

📌 Commit 9cc698e has been approved by cuviper

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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 12, 2026
@rust-bors

This comment has been minimized.

@rust-bors rust-bors bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 13, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Feb 13, 2026

☀️ Test successful - CI
Approved by: cuviper
Duration: 3h 46m 17s
Pushing 2e10913 to beta...

@rust-bors rust-bors bot merged commit 2e10913 into rust-lang:beta Feb 13, 2026
12 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) merged-by-bors This PR was explicitly merged by bors. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.