Skip to content

Rollup of 3 pull requests - #164959

Closed
jhpratt wants to merge 8 commits into
rust-lang:mainfrom
jhpratt:rollup-NuJezDl
Closed

jhpratt wants to merge 8 commits into
rust-lang:mainfrom
jhpratt:rollup-NuJezDl

Conversation

@jhpratt

@jhpratt jhpratt commented Oct 26, 2026

Copy link
Copy Markdown
Member

Successful merges:

Warning

This rollup conflicts with pending auto build #164957 and may need to be recreated if the pending build succeeds.

r? @ghost

Create a similar rollup

GuillaumeGomez and others added 8 commits October 25, 2026 19:43
The original `nonzero_ops` feature
(rust-lang#84186) was stabilized before
the `strict_*` methods on the regular integer types, so the inclusion of
the `strict` methods on `NonZero` type was left as future work. Some
users (see e.g.
rust-lang#84186 (comment))
have recently requested these methods, and it's good to have them for
consistency.
To avoid further duplication in `nonzero.rs`, this new set of tests is
generated by macros similar to those used for the primitive integer
types in `coretests/tests/num/{u,}int_macros.rs`. Many of the tests in
`nonzero.rs` are good candidates to be moved to the new
`nonzero_{u,}int_module` macros, but that's left as future work.
…hrat011899

Remove ignore-unsafe tidy check in alloc/linklist

This PR remove all `ignore-tidy-undocumented-unsafe` in `alloc/src/collections/linked_list.rs`. All unsafe call-sites are checked. Besides, this PR adds missing document comments for two unsafe functions(although they are private).

If there exists anything need to be modified, I will update this PR.
Add `strict_` methods to `NonZero`

The original `nonzero_ops` feature
(rust-lang#84186) was stabilized before the `strict_*` methods on the regular integer types, so the inclusion of the `strict` methods on `NonZero` type was left as future work. Some users (see e.g.
rust-lang#84186 (comment)) have recently requested these methods, and it's good to have them for consistency.
…l-tests, r=Urgau

Cleanup `rustdoc-html` tests

r? @Urgau
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Oct 26, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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. labels Oct 26, 2026
@jhpratt jhpratt closed this Oct 26, 2026
@jhpratt
jhpratt deleted the rollup-NuJezDl branch October 26, 2026 06:33
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants