Skip to content

Implement ((un)checked_)exact_div methods for integers #141237

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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2025

Conversation

Qelxiros
Copy link
Contributor

tracking issue: #139911

I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (#116632), but I'm not sure why it got closed.

@rustbot
Copy link
Collaborator

rustbot commented May 19, 2025

r? @workingjubilee

rustbot has assigned @workingjubilee.
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 May 19, 2025
@rust-log-analyzer

This comment has been minimized.

@Qelxiros Qelxiros force-pushed the 139911-exact-div branch from be390e7 to 4f011f3 Compare May 19, 2025 02:59
@rust-log-analyzer

This comment has been minimized.

@Qelxiros Qelxiros force-pushed the 139911-exact-div branch from 4f011f3 to 90ebad3 Compare May 19, 2025 03:49
@workingjubilee
Copy link
Member

People can change their mind about the implementation specifics after this impl as a start. Thanks!

@workingjubilee
Copy link
Member

@bors r+ rollup=never

@bors
Copy link
Collaborator

bors commented May 30, 2025

📌 Commit 90ebad3 has been approved by workingjubilee

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 May 30, 2025
@workingjubilee
Copy link
Member

er

@bors rollup=always

workingjubilee added a commit to workingjubilee/rustc that referenced this pull request May 30, 2025
…ngjubilee

Implement ((un)checked_)exact_div methods for integers

tracking issue: rust-lang#139911

I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (rust-lang#116632), but I'm not sure why it got closed.
bors added a commit that referenced this pull request May 30, 2025
Rollup of 8 pull requests

Successful merges:

 - #140825 (Add Range parameter to `BTreeMap::extract_if` and `BTreeSet::extract_if`)
 - #141077 (Fix the issue of typo of comma in arm parsing)
 - #141237 (Implement ((un)checked_)exact_div methods for integers)
 - #141494 (mir-opt: Do not transform non-int type in match_branches)
 - #141609 (core: begin deduplicating pointer docs)
 - #141768 (ci: use arm to calculate job matrix)
 - #141771 (Increase timeout for new bors try builds)
 - #141781 (Fix spans for unsafe binders)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit a1d70ed into rust-lang:master May 31, 2025
6 checks passed
@rustbot rustbot added this to the 1.89.0 milestone May 31, 2025
rust-timer added a commit that referenced this pull request May 31, 2025
Rollup merge of #141237 - Qelxiros:139911-exact-div, r=workingjubilee

Implement ((un)checked_)exact_div methods for integers

tracking issue: #139911

I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (#116632), but I'm not sure why it got closed.
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request May 31, 2025
Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#140825 (Add Range parameter to `BTreeMap::extract_if` and `BTreeSet::extract_if`)
 - rust-lang/rust#141077 (Fix the issue of typo of comma in arm parsing)
 - rust-lang/rust#141237 (Implement ((un)checked_)exact_div methods for integers)
 - rust-lang/rust#141494 (mir-opt: Do not transform non-int type in match_branches)
 - rust-lang/rust#141609 (core: begin deduplicating pointer docs)
 - rust-lang/rust#141768 (ci: use arm to calculate job matrix)
 - rust-lang/rust#141771 (Increase timeout for new bors try builds)
 - rust-lang/rust#141781 (Fix spans for unsafe binders)

r? `@ghost`
`@rustbot` modify labels: rollup
@Qelxiros Qelxiros mentioned this pull request Jun 3, 2025
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Jun 3, 2025
…ngjubilee

Implement ((un)checked_)exact_div methods for integers

tracking issue: rust-lang#139911

I see that there might still be some bikeshedding to be done, so if people want changes to this implementation, I'm happy to make those. I did also see that there was a previous attempt at this PR (rust-lang#116632), but I'm not sure why it got closed.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 4, 2025
…=workingjubilee

exact_div: add tests

tracking issue: rust-lang#139911

I neglected to add tests in my last PR (rust-lang#141237), so I've added them here.

r? `@workingjubilee` (Feel free to reroll, I just picked you since you reviewed the last one.)
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 4, 2025
…=workingjubilee

exact_div: add tests

tracking issue: rust-lang#139911

I neglected to add tests in my last PR (rust-lang#141237), so I've added them here.

r? ``@workingjubilee`` (Feel free to reroll, I just picked you since you reviewed the last one.)
rust-timer added a commit that referenced this pull request Jun 4, 2025
Rollup merge of #141939 - Qelxiros:139911-exact-div-tests, r=workingjubilee

exact_div: add tests

tracking issue: #139911

I neglected to add tests in my last PR (#141237), so I've added them here.

r? ``@workingjubilee`` (Feel free to reroll, I just picked you since you reviewed the last one.)
@Qelxiros Qelxiros deleted the 139911-exact-div branch June 4, 2025 22:12
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.

5 participants