[beta] backports, plus stable versions in stdarch#152187
Merged
rust-bors[bot] merged 25 commits intorust-lang:betafrom Feb 13, 2026
Merged
[beta] backports, plus stable versions in stdarch#152187rust-bors[bot] merged 25 commits intorust-lang:betafrom
rust-bors[bot] merged 25 commits intorust-lang:betafrom
Conversation
This comment has been minimized.
This comment has been minimized.
Member
Author
Contributor
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)
(cherry picked from commit 129d552)
Member
Author
|
@bors r+ rollup=never p=1 |
Contributor
Contributor
|
Wasn't only the (Only based on Zulip, I don't see anything at https://hackmd.io/03D-yhzfSp6Sf8mH9cbu0Q#Backports-rusttf151613-Align-ArrayWindows-trait-impls-with-Windows) |
Member
Author
|
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. |
Member
Author
|
Allowing time to make sure of that... @bors r- |
Contributor
|
I don't think it matters all that much 🤷♂️ but figured it was worth checking |
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)
(cherry picked from commit 0cd0840)
(cherry picked from commit 324267c)
(cherry picked from commit 01703e3)
Member
Author
|
@bors r+ |
Contributor
This comment has been minimized.
This comment has been minimized.
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
stdarchversion placeholders with 1.94outline-atomicson various platforms Revert enablingoutline-atomicson various platforms #151896ArrayWindowstrait impls withWindowsAlignArrayWindowstrait impls withWindows#151613unused_assignmentin binding ofunused_variableFix suppression ofunused_assignmentin binding ofunused_variable#151556NameBindingData::visin place" Partially revert "resolve: UpdateNameBindingData::visin place" #152498r? cuviper