Skip to content
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

Fix false positive in match_overlapping_arm #7847

Merged
merged 3 commits into from Oct 28, 2021
Merged

Fix false positive in match_overlapping_arm #7847

merged 3 commits into from Oct 28, 2021

Conversation

ghost
Copy link

@ghost ghost commented Oct 20, 2021

Fixes #7829

changelog: Fix false positive in [match_overlapping_arm].

Michael Wright added 3 commits October 20, 2021 06:13
The bug was dues to the constant bytes being compared instead of their
values. This meant that negative values were being treated as larger
than some positive values.

Fixes #7829
@rust-highfive
Copy link

r? @flip1995

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 20, 2021
@flip1995
Copy link
Member

@bors r+

Thanks! Sorry for taking so long.

@bors
Copy link
Contributor

bors commented Oct 28, 2021

📌 Commit 1ede540 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Oct 28, 2021

⌛ Testing commit 1ede540 with merge 89a1156...

@bors
Copy link
Contributor

bors commented Oct 28, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 89a1156 to master...

@bors bors merged commit 89a1156 into rust-lang:master Oct 28, 2021
@ghost ghost deleted the fix-7829 branch October 29, 2021 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

match_overlapping_arm false positive when ranges have negative starts
3 participants