Repository navigation
Rollup of 23 pull requests - #165756
Closed
JonathanBrouwer wants to merge 61 commits into
Closed
Rollup of 23 pull requests#165756JonathanBrouwer wants to merge 61 commits into
JonathanBrouwer wants to merge 61 commits into
Conversation
Ensure that we always show the `fn` (and its enclosing `trait`/`impl` if appropriate) when pointing at an `FnMut` bound:
```
help: `Fn` and `FnMut` closures require captured values to be able to be consumed multiple times, but `FnOnce` closures may consume them only once
--> $DIR/fnmut-closure-moving-value.rs:11:14
|
LL | impl Bar {
LL | fn f<F>(&self, mut f: F)
LL | where F: FnMut()
| ^^^^^^^
```
Keep region equality in the unification table and transport its deferred outlives requirements through solver constraints. Record directed constraints for subtype relations under assumptions on binders.
With `-Zdebuginfo-for-profiling`, set `debugInfoForProfiling` on the `DICompileUnit`, as Clang does for `-fdebug-info-for-profiling` (`CGDebugInfo.cpp`). Before this change, the flag only added the discriminators pass, and the compile unit flag was always false.
This also includes these 3 patches for musl CVEs: - [CVE-2026-6042]: denial of service in iconv - [CVE-2026-6042]: qsort stack buffer overflow - [CVE-2026-107891]: integer overflow in regcomp The first two were already being applied to our build of musl 1.2.5, the third one is new. [CVE-2026-6042]: https://www.openwall.com/lists/musl/2026/04/03/2 [CVE-2026-40200]: https://www.openwall.com/lists/musl/2026/04/10/3 [CVE-2026-107891]: https://www.openwall.com/lists/musl/2026/10/21/1
add the trait and the trait gate
see similar fixes on the forget
Without it, reads are reported as UB because the tracking of what bytes are initialized is incorect
added a fast path in the rustdoc helper, assuming that move is implemented everywhere if the feature is off
…ts should be skipped in Miri due to missing shims
Only a `\0` byte in an OsStr becomes a WTF16 NUL, so we can check before converting instead of after. For `to_u16s`, this up to halves the amount of memory being scanned, and it can use the optimized memchr [u8] path. For `ensure_no_nuls` the same applies, and this additionally skips a duplicated WTF8->WTF16 conversion: all but one call to it is followed by `encode_wide` anyway.
Turns out that all uses were effectively equivalent to using sess.opts.optimize.
Member
Author
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
Rollup of 23 pull requests try-job: dist-various-1 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2 try-job: test-x86_64-msvc-ext2
Contributor
|
PR #165117, which is a member of this rollup, was unapproved. This rollup was thus unapproved. |
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot)Important For more information how to resolve CI failures of this job, visit this link. |
Contributor
|
💔 Test for 8695fd2 failed: CI. Failed jobs:
|
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.
Successful merges:
rustc_trivial_field_readsusable in user code #164217 (Prepare to makerustc_trivial_field_readsusable in user code)Movetrait feature gate #165569 (Movetrait feature gate)FnMutbound #163241 (Add enclosing item context when pointing atFnMutbound)core::arch::{x86, x86_64}::x87_f80#163992 (addcore::arch::{x86, x86_64}::x87_f80)-Zdebuginfo-for-profiling#165490 (Mark the compile unit for-Zdebuginfo-for-profiling)backend_optimization_level. #165586 (Removebackend_optimization_level.)ptr_alignment_typeasalignment_type#153261 (Partially stabilizeptr_alignment_typeasalignment_type)check_attrto attribute parsing #165693 (Movecheck_attrto attribute parsing)Failed merges:
const-supertrait-unstabletest #165727 (Normalize "beta release channel" inconst-supertrait-unstabletest)r? @ghost
Create a similar rollup