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 stack overflow issue in redundant_pattern_matching #7170

Merged
merged 2 commits into from
May 5, 2021

Conversation

flip1995
Copy link
Member

@flip1995 flip1995 commented May 5, 2021

Fixes #7169

cc @Jarcho Since tomorrow is release day and we need to get this also fixed in beta, I'll just revert the PR instead of looking into the root issue. Your changes are good, so if you have an idea what could cause this stack overflow and know how to fix it, please open a PR that reverts this revert with a fix.

r? @llogiq

changelog: none (fixes stack overflow, but this was introduced in this release cycle)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 5, 2021
@flip1995 flip1995 force-pushed the revert_drop_order branch 2 times, most recently from 1612002 to 08454be Compare May 5, 2021 13:56
@camsteffen
Copy link
Contributor

Here I think this should fix it camsteffen@a6a2fea

@flip1995 flip1995 force-pushed the revert_drop_order branch from 08454be to 59874f3 Compare May 5, 2021 14:18
@flip1995 flip1995 added the I-sync-blocker Issue: Prevents a change to be synced to rust-lang/rust label May 5, 2021
@llogiq
Copy link
Contributor

llogiq commented May 5, 2021

Thank you! @bors r+

@bors
Copy link
Contributor

bors commented May 5, 2021

📌 Commit 59874f3 has been approved by llogiq

@bors
Copy link
Contributor

bors commented May 5, 2021

⌛ Testing commit 59874f3 with merge 182a185...

@bors
Copy link
Contributor

bors commented May 5, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 182a185 to master...

@bors bors merged commit 182a185 into rust-lang:master May 5, 2021
@flip1995 flip1995 deleted the revert_drop_order branch May 5, 2021 17:49
@flip1995 flip1995 removed the I-sync-blocker Issue: Prevents a change to be synced to rust-lang/rust label May 5, 2021
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request May 10, 2021
Fix stack overflow issue in `redundant_pattern_matching`

Fixes rust-lang#7169

~~cc `@Jarcho` Since tomorrow is release day and we need to get this also fixed in beta, I'll just revert the PR instead of looking into the root issue. Your changes are good, so if you have an idea what could cause this stack overflow and know how to fix it, please open a PR that reverts this revert with a fix.~~

r? `@llogiq`

changelog: none (fixes stack overflow, but this was introduced in this release cycle)
bors added a commit that referenced this pull request May 10, 2021
Backport #7170 to beta

changelog: none (fixes stack overflow, but this was introduced in this release cycle)
bors added a commit that referenced this pull request May 10, 2021
Backport of #7170 to beta

r? `@ghost`

changelog: none (fixes stack overflow, but this was introduced in this release cycle)

Now actually opened towards the `beta` branch.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 8, 2021
…lacrum

[Beta] Backport ICE fix in Clippy

This backports an ICE / stack overflow fix from rust-lang/rust-clippy#7170.

cc rust-lang/rust-clippy#7169

cc `@llogiq` `@camsteffen`

r? `@Mark-Simulacrum`
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.

Stack overflow in redundant_pattern_matching
5 participants