Skip to content

refactor RangeFromIter overflow-checks impl#154191

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
pitaj:fix-154124
Mar 23, 2026
Merged

refactor RangeFromIter overflow-checks impl#154191
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
pitaj:fix-154124

Conversation

@pitaj
Copy link
Copy Markdown
Contributor

@pitaj pitaj commented Mar 21, 2026

Crates with different overflow-checks settings accessing the same RangeFromIter resulted in incorrect values being yielded

Fixes #154124

r? @tgross35

Loading
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-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RangeFromIter gives wrong values when mixing crates with different overflow-checks settings

3 participants