Implement feature int_lowest_highest_one for integer and NonZero types by Gnurou · Pull Request #145381 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation14 Commits1 Checks10 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

@Gnurou

Tracking issue: #145203

Implement the accepted ACP #145203 for methods that find the index of the least significant (lowest) and most significant (highest) set bit in an integer for signed, unsigned, and NonZero types.

Also add unit tests for all these types.

@rustbot

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

@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

Aug 14, 2025

@rustbot

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@Gnurou

Urk, I overlook something with the NonZero tests... Please hold on a bit until I fix the failures. 🙇

@xizheyin

You can use @rustbot author to set it to incomplete status. When ready, you can use @rustbot ready to set it to pending review.

@Gnurou

@rustbot rustbot 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-review

Status: Awaiting review from the assignee but also interested parties.

labels

Aug 14, 2025

@rustbot

Reminder, once the PR becomes ready for a review, use @rustbot ready.

jhpratt

@Gnurou

Implement the accepted ACP for methods that find the index of the least significant (lowest) and most significant (highest) set bit in an integer for signed, unsigned, and NonZero types.

Also add unit tests for all these types.

@Gnurou

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Aug 18, 2025

@jhpratt

@bors

📌 Commit 73d3d28 has been approved by jhpratt

It is now in the queue for this repository.

@bors bors 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

Aug 19, 2025

jhpratt added a commit to jhpratt/rust that referenced this pull request

Aug 19, 2025

@jhpratt

…hpratt

Implement feature int_lowest_highest_one for integer and NonZero types

Tracking issue: rust-lang#145203

Implement the accepted ACP rust-lang#145203 for methods that find the index of the least significant (lowest) and most significant (highest) set bit in an integer for signed, unsigned, and NonZero types.

Also add unit tests for all these types.

jhpratt added a commit to jhpratt/rust that referenced this pull request

Aug 19, 2025

@jhpratt

…hpratt

Implement feature int_lowest_highest_one for integer and NonZero types

Tracking issue: rust-lang#145203

Implement the accepted ACP rust-lang#145203 for methods that find the index of the least significant (lowest) and most significant (highest) set bit in an integer for signed, unsigned, and NonZero types.

Also add unit tests for all these types.

This was referenced

Aug 19, 2025

bors added a commit that referenced this pull request

Aug 20, 2025

@bors

Rollup of 13 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit that referenced this pull request

Aug 20, 2025

@rust-timer

Rollup merge of #145381 - Gnurou:int_lowest_highest_one, r=jhpratt

Implement feature int_lowest_highest_one for integer and NonZero types

Tracking issue: #145203

Implement the accepted ACP #145203 for methods that find the index of the least significant (lowest) and most significant (highest) set bit in an integer for signed, unsigned, and NonZero types.

Also add unit tests for all these types.

@Gnurou Gnurou deleted the int_lowest_highest_one branch

August 20, 2025 13:02

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request

Aug 21, 2025

@bors

github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request

Aug 26, 2025

@jhpratt

…hpratt

Implement feature int_lowest_highest_one for integer and NonZero types

Tracking issue: rust-lang#145203

Implement the accepted ACP rust-lang#145203 for methods that find the index of the least significant (lowest) and most significant (highest) set bit in an integer for signed, unsigned, and NonZero types.

Also add unit tests for all these types.

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.