Skip to content

Rollup of 23 pull requests - #165756

Closed
JonathanBrouwer wants to merge 61 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-kqZu4AU
Closed

JonathanBrouwer wants to merge 61 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-kqZu4AU

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

estebank and others added 30 commits September 24, 2026 05:44
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.
@rustbot rustbot added F-explicit_tail_calls `#![feature(explicit_tail_calls)]` O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) O-unix Operating system: Unix-like O-windows Operating system: Windows PG-exploit-mitigations Project group: Exploit mitigations S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 10, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu,test-x86_64-gnu-llvm-22-3,test-aarch64-msvc-2,test-x86_64-msvc-ext2

@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 579771d has been approved by JonathanBrouwer

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 Nov 10, 2026
@rust-bors

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
@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 Nov 10, 2026
@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

PR #165117, which is a member of this rollup, was unapproved.

This rollup was thus unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 10, 2026
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-llvm-22-3 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
---- [ui] tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859/principal-upcast-region-eq-issue-157859.stderr`
diff of stderr:

- error[E0277]: the trait bound `&dyn Sub: CoerceUnsized<&dyn Super<for<'a> fn(&'a ())>>` is not satisfied
+ error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<for<'a> fn(&'a ())>>` is not satisfied
2   --> $DIR/principal-upcast-region-eq-issue-157859.rs:6:49
3    |
4 LL |         let b: &dyn Super<for<'a> fn(&'a ())> = a;

5    |                                                 ^ the nightly-only, unstable trait `Unsize<dyn Super<for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
6    |
7    = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
-    = note: required for `&dyn Sub` to implement `CoerceUnsized<&dyn Super<for<'a> fn(&'a ())>>`
9    = note: required for the cast from `&dyn Sub` to `&dyn Super<for<'a> fn(&'a ())>`
10 
11 error: aborting due to 1 previous error


The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859" "-Znext-solver=coherence" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-Zassumptions-on-binders" "-Znext-solver=globally"
stdout: none
--- stderr -------------------------------
error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<for<'a> fn(&'a ())>>` is not satisfied
##[error]  --> /checkout/tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs:6:49
   |
LL |         let b: &dyn Super<for<'a> fn(&'a ())> = a;
   |                                                 ^ the nightly-only, unstable trait `Unsize<dyn Super<for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
   |
   = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
   = note: required for the cast from `&dyn Sub` to `&dyn Super<for<'a> fn(&'a ())>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.
------------------------------------------

---- [ui] tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs stdout end ----
---- [ui] tests/ui/assumptions_on_binders/trait-upcast-projection-region-eq.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/trait-upcast-projection-region-eq/trait-upcast-projection-region-eq.stderr`
diff of stderr:

- error[E0277]: the trait bound `&dyn Sub: CoerceUnsized<&dyn Super<Assoc = for<'a> fn(&'a ())>>` is not satisfied
+ error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not satisfied
2   --> $DIR/trait-upcast-projection-region-eq.rs:8:57
3    |
4 LL |         let b: &dyn Super<Assoc = for<'a> fn(&'a ())> = a;

5    |                                                         ^ the nightly-only, unstable trait `Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
6    |
7    = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
-    = note: required for `&dyn Sub` to implement `CoerceUnsized<&dyn Super<Assoc = for<'a> fn(&'a ())>>`
9    = note: required for the cast from `&dyn Sub` to `&dyn Super<Assoc = for<'a> fn(&'a ())>`
10 
11 error: aborting due to 1 previous error


The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args assumptions_on_binders/trait-upcast-projection-region-eq.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" "/checkout/tests/ui/assumptions_on_binders/trait-upcast-projection-region-eq.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/trait-upcast-projection-region-eq" "-Znext-solver=coherence" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-Zassumptions-on-binders" "-Znext-solver=globally"
stdout: none
--- stderr -------------------------------
error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not satisfied
##[error]  --> /checkout/tests/ui/assumptions_on_binders/trait-upcast-projection-region-eq.rs:8:57
   |
LL |         let b: &dyn Super<Assoc = for<'a> fn(&'a ())> = a;
   |                                                         ^ the nightly-only, unstable trait `Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
   |
   = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
   = note: required for the cast from `&dyn Sub` to `&dyn Super<Assoc = for<'a> fn(&'a ())>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.
------------------------------------------

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-x86_64-gnu-gcc failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
test [ui] tests/ui/abi/compatibility.rs#aarch64-win ... ignored, backend `gcc` cannot build for target `aarch64-pc-windows-msvc`
test [ui] tests/ui/abi/compatibility.rs#aix ... ignored, backend `gcc` cannot build for target `powerpc64-ibm-aix`
test [ui] tests/ui/abi/compatibility.rs#arm ... ignored, backend `gcc` cannot build for target `arm-unknown-linux-gnueabi`
test [ui] tests/ui/abi/compatibility.rs#bpf ... ignored, backend `gcc` cannot build for target `bpfeb-unknown-none`
test [ui] tests/ui/abi/compatibility.rs#csky ... ignored, backend `gcc` cannot build for target `csky-unknown-linux-gnuabiv2`
test [ui] tests/ui/abi/cabi-int-widening.rs ... ok
test [ui] tests/ui/abi/compatibility.rs#i686 ... ignored, backend `gcc` cannot build for target `i686-unknown-linux-gnu`
test [ui] tests/ui/abi/compatibility.rs#i686-reg-struct-return ... ignored, backend `gcc` cannot build for target `i686-unknown-linux-gnu`
test [ui] tests/ui/abi/compatibility.rs#i686-win ... ignored, backend `gcc` cannot build for target `i686-pc-windows-msvc`
test [ui] tests/ui/abi/compatibility.rs#i686-win-gnu ... ignored, backend `gcc` cannot build for target `i686-pc-windows-gnu`
---
---- [ui] tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859/principal-upcast-region-eq-issue-157859.stderr`
diff of stderr:

- error[E0277]: the trait bound `&dyn Sub: CoerceUnsized<&dyn Super<for<'a> fn(&'a ())>>` is not satisfied
+ error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<for<'a> fn(&'a ())>>` is not satisfied
2   --> $DIR/principal-upcast-region-eq-issue-157859.rs:6:49
3    |
4 LL |         let b: &dyn Super<for<'a> fn(&'a ())> = a;

5    |                                                 ^ the nightly-only, unstable trait `Unsize<dyn Super<for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
6    |
7    = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
-    = note: required for `&dyn Sub` to implement `CoerceUnsized<&dyn Super<for<'a> fn(&'a ())>>`
9    = note: required for the cast from `&dyn Sub` to `&dyn Super<for<'a> fn(&'a ())>`
10 
11 error: aborting due to 1 previous error


The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "-Zcodegen-backend=gcc" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859" "-Znext-solver=coherence" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-Zassumptions-on-binders" "-Znext-solver=globally"
stdout: none
--- stderr -------------------------------
error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<for<'a> fn(&'a ())>>` is not satisfied
##[error]  --> /checkout/tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs:6:49
   |
LL |         let b: &dyn Super<for<'a> fn(&'a ())> = a;
   |                                                 ^ the nightly-only, unstable trait `Unsize<dyn Super<for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
   |
   = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
   = note: required for the cast from `&dyn Sub` to `&dyn Super<for<'a> fn(&'a ())>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.
------------------------------------------

---- [ui] tests/ui/assumptions_on_binders/principal-upcast-region-eq-issue-157859.rs stdout end ----
---- [ui] tests/ui/assumptions_on_binders/trait-upcast-projection-region-eq.rs stdout ----
Saved the actual stderr to `/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/trait-upcast-projection-region-eq/trait-upcast-projection-region-eq.stderr`
diff of stderr:

- error[E0277]: the trait bound `&dyn Sub: CoerceUnsized<&dyn Super<Assoc = for<'a> fn(&'a ())>>` is not satisfied
+ error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not satisfied
2   --> $DIR/trait-upcast-projection-region-eq.rs:8:57
3    |
4 LL |         let b: &dyn Super<Assoc = for<'a> fn(&'a ())> = a;

5    |                                                         ^ the nightly-only, unstable trait `Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
6    |
7    = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
-    = note: required for `&dyn Sub` to implement `CoerceUnsized<&dyn Super<Assoc = for<'a> fn(&'a ())>>`
9    = note: required for the cast from `&dyn Sub` to `&dyn Super<Assoc = for<'a> fn(&'a ())>`
10 
11 error: aborting due to 1 previous error


The actual stderr differed from the expected stderr
To update references, rerun the tests and pass the `--bless` flag
To only update this specific test, also pass `--test-args assumptions_on_binders/trait-upcast-projection-region-eq.rs`

error: 1 errors occurred comparing output.
status: exit status: 1
command: env -u RUSTC_LOG_COLOR RUSTC_ICE="0" RUST_BACKTRACE="short" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/tests/ui/assumptions_on_binders/trait-upcast-projection-region-eq.rs" "-Zsimulate-remapped-rust-src-base=/rustc/FAKE_PREFIX" "-Ztranslate-remapped-path-to-local-path=no" "-Z" "ignore-directory-in-diagnostics-source-blocks=/cargo" "-Z" "ignore-directory-in-diagnostics-source-blocks=/checkout/vendor" "--sysroot" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2" "-Zcodegen-backend=gcc" "--target=x86_64-unknown-linux-gnu" "--check-cfg" "cfg(test,FALSE)" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Zwrite-long-types-to-disk=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui/assumptions_on_binders/trait-upcast-projection-region-eq" "-Znext-solver=coherence" "-A" "unused" "-W" "unused_attributes" "-A" "internal_features" "-A" "incomplete_features" "-A" "unused_parens" "-A" "unused_braces" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--edition=2015" "-Zassumptions-on-binders" "-Znext-solver=globally"
stdout: none
--- stderr -------------------------------
error[E0277]: the trait bound `dyn Sub: Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not satisfied
##[error]  --> /checkout/tests/ui/assumptions_on_binders/trait-upcast-projection-region-eq.rs:8:57
   |
LL |         let b: &dyn Super<Assoc = for<'a> fn(&'a ())> = a;
   |                                                         ^ the nightly-only, unstable trait `Unsize<dyn Super<Assoc = for<'a> fn(&'a ())>>` is not implemented for `dyn Sub`
   |
   = note: all implementations of `Unsize` are provided automatically by the compiler, see <https://doc.rust-lang.org/stable/std/marker/trait.Unsize.html> for more information
   = note: required for the cast from `&dyn Sub` to `&dyn Super<Assoc = for<'a> fn(&'a ())>`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0277`.
------------------------------------------

Important

For more information how to resolve CI failures of this job, visit this link.

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 10, 2026
@rust-bors

rust-bors Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 8695fd2 failed: CI. Failed jobs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-allocators Area: Custom and system allocators A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-filesystem Area: `std::fs` A-fmt Area: `core::fmt` A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-networking Area: `std::net` A-process Area: `std::process` (note: `std::env` is A-env) A-raw-pointers Area: raw pointers, MaybeUninit, NonNull A-str Area: `str` and `String` A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-minicore` A-testsuite Area: The testsuite used to check the correctness of rustc F-explicit_tail_calls `#![feature(explicit_tail_calls)]` O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) O-unix Operating system: Unix-like O-windows Operating system: Windows PG-exploit-mitigations Project group: Exploit mitigations rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.