Skip to content

Rollup of 12 pull requests - #151104

Closed
JonathanBrouwer wants to merge 39 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-5gICySg
Closed

Rollup of 12 pull requests#151104
JonathanBrouwer wants to merge 39 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-5gICySg

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

aatifsyed and others added 30 commits November 28, 2025 00:52
The UEFI variables set by the env vars should be volatile, otherwise
they will persist after reboot and use up scarce non-volatile storage.
should-fail is only meant for testing the compiletest framework itself.
It checks that the test runner itself panicked.
Instead keep parent modules in `DeclData` itself
Otherwise the std testsuite fails on older kernels.
When encountering code like `impl<N> Bar<N> for [u8; N]`, suggest `impl<const N: Type> Bar<N> for [u8; N]` as a possibility.

```
error[E0423]: expected value, found type parameter `T`
  --> $DIR/issue-69654.rs:5:25
   |
LL | impl<T> Bar<T> for [u8; T] {}
   |      -                  ^ not a value
   |      |
   |      found this type parameter
   |
help: you might have meant to write a const parameter here
   |
LL | impl<const T: /* Type */> Bar<T> for [u8; T] {}
   |      +++++  ++++++++++++
```
It's described as a "backwards compatibility hack to keep the diff
small". Removing it requires only a modest amount of churn, and the
resulting code is clearer without the invisible derefs.
…ross35,dtolnay

refactor: remove Ord bound from BinaryHeap::new etc

This adds consistency with e.g `BTreeMap::new`, and makes it easier to e.g `#[derive(Default)]`[^1]

[^1]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=f848e472a176fae155f17455bdfe0aee
…bk,BoxyUwU,fmease

Change some `matches!(.., .. if ..)` with let-chains

Follow up to rust-lang#149933.
std: move `errno` and related functions into `sys::io`

Part of rust-lang#117276.

Currently, `errno` and related functions like `decode_error_kind` are split across `sys::pal` and `sys::pal::os`. This PR moves all of them into a new module inside `sys::io`.
Recognize potential `impl<const N: usize>` to `impl<N>` mistake

When encountering code like `impl<N> Bar<N> for [u8; N]`, suggest `impl<const N: Type> Bar<N> for [u8; N]` as a possibility.

```
error[E0423]: expected value, found type parameter `T`
  --> $DIR/issue-69654.rs:5:25
   |
LL | impl<T> Bar<T> for [u8; T] {}
   |      -                  ^ not a value
   |      |
   |      found this type parameter
   |
help: you might have meant to write a const parameter here
   |
LL | impl<const T: Type> Bar<T> for [u8; T] {}
   |      +++++  ++++++
```

Addresses "case 3" from rust-lang#84327.
Remove `Deref`/`DerefMut` impl for `Providers`.

It's described as a "backwards compatibility hack to keep the diff small". Removing it requires only a modest amount of churn, and the resulting code is clearer without the invisible derefs.

r? @oli-obk
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Jan 14, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-run-make Area: port run-make Makefiles to rmake.rs O-hermit Operating System: Hermit O-SGX Target: SGX O-solid Operating System: SOLID O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface O-windows Operating system: Windows 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Jan 14, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ rollup=never p=5

@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 Jan 14, 2026
@rust-bors

rust-bors Bot commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 09a1243 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors

This comment has been minimized.

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

Rollup of 12 pull requests

Successful merges:

 - #149408 (refactor: remove Ord bound from BinaryHeap::new etc)
 - #150406 (Change some `matches!(.., .. if ..)` with let-chains)
 - #150723 (std: move `errno` and related functions into `sys::io`)
 - #150877 (resolve: Refactor away the side table `decl_parent_modules`)
 - #150902 (Update to_uppercase docs to avoid ß->SS example)
 - #150962 (Remove `FeedConstTy` and provide ty when lowering const arg)
 - #151034 (std: Change UEFI env vars to volatile storage)
 - #151036 (Better handle when trying to iterate on a `Range` of a type that isn't `Step`)
 - #151067 (Avoid should-fail in two ui tests and a codegen-llvm test)
 - #151072 (also handle ENOTTY ioctl errors when checking pidfd -> pid support)
 - #151077 (Recognize potential `impl<const N: usize>` to `impl<N>` mistake)
 - #151096 (Remove `Deref`/`DerefMut` impl for `Providers`.)

Failed merges:

 - #150939 (resolve: Relax some asserts in glob overwriting and add tests)

r? @ghost
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job dist-x86_64-linux-alt failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/option.rs:2184:5
   4: <core::option::Option<rustc_span::def_id::DefId>>::expect
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/option.rs:971:21
   5: rustdoc::clean::clean_generic_args::{closure#1}
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:2552:35
   6: <&mut rustdoc::clean::clean_generic_args::{closure#1} as core::ops::function::FnOnce<(&rustc_hir::hir::AssocItemConstraint,)>>::call_once
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/ops/function.rs:310:21
   7: <core::option::Option<&rustc_hir::hir::AssocItemConstraint>>::map::<rustdoc::clean::types::AssocItemConstraint, &mut rustdoc::clean::clean_generic_args::{closure#1}>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/option.rs:1165:29
   8: <core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::AssocItemConstraint>, rustdoc::clean::clean_generic_args::{closure#1}> as core::iter::traits::iterator::Iterator>::next
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/map.rs:107:26
   9: <thin_vec::ThinVec<rustdoc::clean::types::AssocItemConstraint> as core::iter::traits::collect::Extend<rustdoc::clean::types::AssocItemConstraint>>::extend::<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::AssocItemConstraint>, rustdoc::clean::clean_generic_args::{closure#1}>>
             at /rust/deps/thin-vec-0.2.14/src/lib.rs:1744:18
  10: <thin_vec::ThinVec<rustdoc::clean::types::AssocItemConstraint> as core::iter::traits::collect::FromIterator<rustdoc::clean::types::AssocItemConstraint>>::from_iter::<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::AssocItemConstraint>, rustdoc::clean::clean_generic_args::{closure#1}>>
             at /rust/deps/thin-vec-0.2.14/src/lib.rs:2003:13
  11: <core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::AssocItemConstraint>, rustdoc::clean::clean_generic_args::{closure#1}> as core::iter::traits::iterator::Iterator>::collect::<thin_vec::ThinVec<rustdoc::clean::types::AssocItemConstraint>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2028:9
  12: rustdoc::clean::clean_generic_args
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:2557:18
  13: rustdoc::clean::clean_path_segment
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:2581:48
  14: rustdoc::clean::clean_path::{closure#0}
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:2521:48
  15: <&mut rustdoc::clean::clean_path::{closure#0} as core::ops::function::FnOnce<(&rustc_hir::hir::PathSegment,)>>::call_once
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/ops/function.rs:310:21
  16: <core::option::Option<&rustc_hir::hir::PathSegment>>::map::<rustdoc::clean::types::PathSegment, &mut rustdoc::clean::clean_path::{closure#0}>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/option.rs:1165:29
  17: <core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::PathSegment>, rustdoc::clean::clean_path::{closure#0}> as core::iter::traits::iterator::Iterator>::next
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/map.rs:107:26
  18: <thin_vec::ThinVec<rustdoc::clean::types::PathSegment> as core::iter::traits::collect::Extend<rustdoc::clean::types::PathSegment>>::extend::<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::PathSegment>, rustdoc::clean::clean_path::{closure#0}>>
             at /rust/deps/thin-vec-0.2.14/src/lib.rs:1744:18
  19: <thin_vec::ThinVec<rustdoc::clean::types::PathSegment> as core::iter::traits::collect::FromIterator<rustdoc::clean::types::PathSegment>>::from_iter::<core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::PathSegment>, rustdoc::clean::clean_path::{closure#0}>>
             at /rust/deps/thin-vec-0.2.14/src/lib.rs:2003:13
  20: <core::iter::adapters::map::Map<core::slice::iter::Iter<rustc_hir::hir::PathSegment>, rustdoc::clean::clean_path::{closure#0}> as core::iter::traits::iterator::Iterator>::collect::<thin_vec::ThinVec<rustdoc::clean::types::PathSegment>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2028:9
  21: rustdoc::clean::clean_path
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:2521:75
  22: rustdoc::clean::clean_trait_ref
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:1188:16
  23: rustdoc::clean::clean_poly_trait_ref
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:1198:17
  24: rustdoc::clean::clean_generic_bound
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:236:38
  25: rustdoc::clean::clean_generic_param::{closure#5}
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:639:37
  26: <&mut rustdoc::clean::clean_generic_param::{closure#5} as core::ops::function::FnMut<(&rustc_hir::hir::GenericBound,)>>::call_mut
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/ops/function.rs:298:21
  27: core::iter::traits::iterator::Iterator::find_map::check::<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2915:32
  28: <&mut core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0} as core::ops::function::FnMut<((), &rustc_hir::hir::GenericBound)>>::call_mut
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/ops/function.rs:298:21
  29: <core::slice::iter::Iter<rustc_hir::hir::GenericBound> as core::iter::traits::iterator::Iterator>::try_fold::<(), &mut core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2427:21
  30: <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten::<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/flatten.rs:563:35
  31: <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten::<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/flatten.rs:420:30
  32: core::iter::adapters::map::map_try_fold::<&rustc_hir::hir::WhereBoundPredicate, &[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#4}, <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/map.rs:95:21
  33: core::iter::adapters::filter::filter_try_fold::<&rustc_hir::hir::WhereBoundPredicate, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#3}, core::iter::adapters::map::map_try_fold<&rustc_hir::hir::WhereBoundPredicate, &[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#4}, <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/filter.rs:86:44
  34: core::iter::adapters::filter_map::filter_map_try_fold::<&rustc_hir::hir::WherePredicate, &rustc_hir::hir::WhereBoundPredicate, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}, core::iter::adapters::filter::filter_try_fold<&rustc_hir::hir::WhereBoundPredicate, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#3}, core::iter::adapters::map::map_try_fold<&rustc_hir::hir::WhereBoundPredicate, &[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#4}, <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/filter_map.rs:50:20
  35: <core::slice::iter::Iter<rustc_hir::hir::WherePredicate> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::adapters::filter_map::filter_map_try_fold<&rustc_hir::hir::WherePredicate, &rustc_hir::hir::WhereBoundPredicate, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}, core::iter::adapters::filter::filter_try_fold<&rustc_hir::hir::WhereBoundPredicate, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#3}, core::iter::adapters::map::map_try_fold<&rustc_hir::hir::WhereBoundPredicate, &[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#4}, <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2427:21
  36: <core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::adapters::filter::filter_try_fold<&rustc_hir::hir::WhereBoundPredicate, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#3}, core::iter::adapters::map::map_try_fold<&rustc_hir::hir::WhereBoundPredicate, &[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#4}, <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/filter_map.rs:138:19
  37: <core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::adapters::map::map_try_fold<&rustc_hir::hir::WhereBoundPredicate, &[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, rustdoc::clean::clean_generic_param::{closure#4}, <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/filter.rs:151:19
  38: <core::iter::adapters::map::Map<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, rustdoc::clean::clean_generic_param::{closure#4}> as core::iter::traits::iterator::Iterator>::try_fold::<(), <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/map.rs:121:19
  39: <core::iter::adapters::fuse::Fuse<core::iter::adapters::map::Map<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, rustdoc::clean::clean_generic_param::{closure#4}>> as core::iter::adapters::fuse::FuseImpl<core::iter::adapters::map::Map<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, rustdoc::clean::clean_generic_param::{closure#4}>>>::try_fold::<(), <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/fuse.rs:397:24
  40: <core::iter::adapters::fuse::Fuse<core::iter::adapters::map::Map<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, rustdoc::clean::clean_generic_param::{closure#4}>> as core::iter::traits::iterator::Iterator>::try_fold::<(), <core::iter::adapters::flatten::FlattenCompat<_, _>>::iter_try_fold::flatten<&[rustc_hir::hir::GenericBound], (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/fuse.rs:89:9
  41: <core::iter::adapters::flatten::FlattenCompat<core::iter::adapters::map::Map<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, rustdoc::clean::clean_generic_param::{closure#4}>, core::slice::iter::Iter<rustc_hir::hir::GenericBound>>>::iter_try_fold::<(), <core::iter::adapters::flatten::FlattenCompat<_, _> as core::iter::traits::iterator::Iterator>::try_fold::flatten<core::slice::iter::Iter<rustc_hir::hir::GenericBound>, (), core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>, core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/flatten.rs:428:25
  42: <core::iter::adapters::flatten::FlattenCompat<core::iter::adapters::map::Map<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, rustdoc::clean::clean_generic_param::{closure#4}>, core::slice::iter::Iter<rustc_hir::hir::GenericBound>> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/flatten.rs:566:14
  43: <core::iter::adapters::flatten::FlatMap<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, &[rustc_hir::hir::GenericBound], rustdoc::clean::clean_generic_param::{closure#4}> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::traits::iterator::Iterator::find_map::check<&rustc_hir::hir::GenericBound, rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>::{closure#0}, core::ops::control_flow::ControlFlow<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/flatten.rs:79:20
  44: <core::iter::adapters::flatten::FlatMap<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, &[rustc_hir::hir::GenericBound], rustdoc::clean::clean_generic_param::{closure#4}> as core::iter::traits::iterator::Iterator>::find_map::<rustdoc::clean::types::GenericBound, &mut rustdoc::clean::clean_generic_param::{closure#5}>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2921:14
  45: <core::iter::adapters::filter_map::FilterMap<core::iter::adapters::flatten::FlatMap<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, &[rustc_hir::hir::GenericBound], rustdoc::clean::clean_generic_param::{closure#4}>, rustdoc::clean::clean_generic_param::{closure#5}> as core::iter::traits::iterator::Iterator>::next
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/adapters/filter_map.rs:64:19
  46: <thin_vec::ThinVec<rustdoc::clean::types::GenericBound> as core::iter::traits::collect::Extend<rustdoc::clean::types::GenericBound>>::extend::<core::iter::adapters::filter_map::FilterMap<core::iter::adapters::flatten::FlatMap<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, &[rustc_hir::hir::GenericBound], rustdoc::clean::clean_generic_param::{closure#4}>, rustdoc::clean::clean_generic_param::{closure#5}>>
             at /rust/deps/thin-vec-0.2.14/src/lib.rs:1744:18
  47: <thin_vec::ThinVec<rustdoc::clean::types::GenericBound> as core::iter::traits::collect::FromIterator<rustdoc::clean::types::GenericBound>>::from_iter::<core::iter::adapters::filter_map::FilterMap<core::iter::adapters::flatten::FlatMap<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, &[rustc_hir::hir::GenericBound], rustdoc::clean::clean_generic_param::{closure#4}>, rustdoc::clean::clean_generic_param::{closure#5}>>
             at /rust/deps/thin-vec-0.2.14/src/lib.rs:2003:13
  48: <core::iter::adapters::filter_map::FilterMap<core::iter::adapters::flatten::FlatMap<core::iter::adapters::filter::Filter<core::iter::adapters::filter_map::FilterMap<core::slice::iter::Iter<rustc_hir::hir::WherePredicate>, <rustc_hir::hir::Generics>::bounds_for_param::{closure#0}>, rustdoc::clean::clean_generic_param::{closure#3}>, &[rustc_hir::hir::GenericBound], rustdoc::clean::clean_generic_param::{closure#4}>, rustdoc::clean::clean_generic_param::{closure#5}> as core::iter::traits::iterator::Iterator>::collect::<thin_vec::ThinVec<rustdoc::clean::types::GenericBound>>
             at /rustc/1b6e21e163baa0b20f119e17e3871910978a60b6/library/core/src/iter/traits/iterator.rs:2028:9
  49: rustdoc::clean::clean_generic_param
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:640:22
  50: rustdoc::clean::clean_generics
             at /rustc/a8e00836236b4c959d792f15ffda3f9407e3f138/src/librustdoc/clean/mod.rs:761:21

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 14, 2026
@rust-bors

rust-bors Bot commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

💔 Test for a8e0083 failed: CI. Failed jobs:

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 14, 2026
@JonathanBrouwer
JonathanBrouwer deleted the rollup-5gICySg branch August 21, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-run-make Area: port run-make Makefiles to rmake.rs O-hermit Operating System: Hermit O-SGX Target: SGX O-solid Operating System: SOLID O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface O-windows Operating system: Windows rollup A PR which is a rollup 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. 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.