Skip to content

Conversation

@scottmcm
Copy link
Member

I did not update iN because count_zeros is reasonable for negative numbers.

Rendered:
image
image

@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. labels Jan 17, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 17, 2026

r? @jhpratt

rustbot has assigned @jhpratt.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@jhpratt
Copy link
Member

jhpratt commented Jan 18, 2026

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Jan 18, 2026

📌 Commit b49539e has been approved by jhpratt

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 Jan 18, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Jan 18, 2026
Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only]

I did not update `iN` because `count_zeros` is reasonable for *negative* numbers.

Rendered:
<img width="1188" height="524" alt="image" src="https://github.com/user-attachments/assets/80ebf53c-3cde-4230-b436-d2148b07d4c8" />
<img width="1186" height="517" alt="image" src="https://github.com/user-attachments/assets/544d2ff4-ee35-44f7-8d50-65fc5f0ff3c9" />
rust-bors bot pushed a commit that referenced this pull request Jan 18, 2026
Rollup of 9 pull requests

Successful merges:

 - #148769 (Stabilize `alloc_layout_extra`)
 - #149440 (Remove suggestion from importing unstable items on stable channel)
 - #150200 (Add title field to `ice.md` issue template)
 - #150955 (Underscore-prefixed bindings are explicitly allowed to be unused)
 - #151200 (time: Add saturating arithmetic for `SystemTime`)
 - #151235 (Change field `bit_width: usize` to `bits: u32` in type info)
 - #151242 (Port #[needs_allocator] to attribute parser)
 - #151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only])
 - #151279 (remove trailing periods in built-in attribute gate messages)

r? @ghost
rust-bors bot pushed a commit that referenced this pull request Jan 18, 2026
Rollup of 8 pull requests

Successful merges:

 - #148769 (Stabilize `alloc_layout_extra`)
 - #150200 (Add title field to `ice.md` issue template)
 - #150955 (Underscore-prefixed bindings are explicitly allowed to be unused)
 - #151200 (time: Add saturating arithmetic for `SystemTime`)
 - #151235 (Change field `bit_width: usize` to `bits: u32` in type info)
 - #151242 (Port #[needs_allocator] to attribute parser)
 - #151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only])
 - #151279 (remove trailing periods in built-in attribute gate messages)

r? @ghost
@rust-bors rust-bors bot merged commit 0f52e31 into rust-lang:main Jan 18, 2026
11 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Jan 18, 2026
rust-timer added a commit that referenced this pull request Jan 18, 2026
Rollup merge of #151274 - count_zeros_note, r=jhpratt

Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only]

I did not update `iN` because `count_zeros` is reasonable for *negative* numbers.

Rendered:
<img width="1188" height="524" alt="image" src="https://github.com/user-attachments/assets/80ebf53c-3cde-4230-b436-d2148b07d4c8" />
<img width="1186" height="517" alt="image" src="https://github.com/user-attachments/assets/544d2ff4-ee35-44f7-8d50-65fc5f0ff3c9" />
@scottmcm scottmcm deleted the count_zeros_note branch January 18, 2026 19:38
@cuviper cuviper modified the milestones: 1.94.0, 1.95.0 Jan 19, 2026
christian-schilling pushed a commit to christian-schilling/rustc_codegen_cranelift that referenced this pull request Jan 27, 2026
Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#148769 (Stabilize `alloc_layout_extra`)
 - rust-lang/rust#150200 (Add title field to `ice.md` issue template)
 - rust-lang/rust#150955 (Underscore-prefixed bindings are explicitly allowed to be unused)
 - rust-lang/rust#151200 (time: Add saturating arithmetic for `SystemTime`)
 - rust-lang/rust#151235 (Change field `bit_width: usize` to `bits: u32` in type info)
 - rust-lang/rust#151242 (Port #[needs_allocator] to attribute parser)
 - rust-lang/rust#151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only])
 - rust-lang/rust#151279 (remove trailing periods in built-in attribute gate messages)

r? @ghost
christian-schilling pushed a commit to christian-schilling/rustc_codegen_cranelift that referenced this pull request Jan 27, 2026
Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#148769 (Stabilize `alloc_layout_extra`)
 - rust-lang/rust#150200 (Add title field to `ice.md` issue template)
 - rust-lang/rust#150955 (Underscore-prefixed bindings are explicitly allowed to be unused)
 - rust-lang/rust#151200 (time: Add saturating arithmetic for `SystemTime`)
 - rust-lang/rust#151235 (Change field `bit_width: usize` to `bits: u32` in type info)
 - rust-lang/rust#151242 (Port #[needs_allocator] to attribute parser)
 - rust-lang/rust#151274 (Include a link to `count_ones` in the docs for `uN::count_zeros` [docs only])
 - rust-lang/rust#151279 (remove trailing periods in built-in attribute gate messages)

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

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants