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

Issue 6202 #6224

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Issue 6202 #6224

wants to merge 2 commits into from

Conversation

CalebLItalien
Copy link

This closes #6202 .

Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a comment to the code and reduce the test case down to the minimum configs needed to reproduce the issue.

tests/source/issue-6202/issue_example.rs Outdated Show resolved Hide resolved
src/expr.rs Show resolved Hide resolved
Copy link
Contributor

@ytmimi ytmimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor nit and then I think we're good to go. Also, can you please squash all these commits and then rebase on the latest master. The team strongly discourages merge commits in PRs.

src/expr.rs Outdated Show resolved Hide resolved
@CalebLItalien CalebLItalien force-pushed the issue_6202 branch 3 times, most recently from 3ed4150 to 83af25f Compare July 1, 2024 21:44
…-2024-06-24

subtree-push 2024-06-24

Merge commit from master
@CalebLItalien
Copy link
Author

Apologies, was trying to squash the recent merge commit and accidentally reset the branch. This reopens the PR.

@CalebLItalien CalebLItalien reopened this Jul 4, 2024
@ytmimi
Copy link
Contributor

ytmimi commented Jul 4, 2024

The git history seems off to me. I think you might have squashed too many commits or grabbed the wrong commit message somehow?

@vats004
Copy link

vats004 commented Jan 31, 2025

hey can I work on this issue

@ytmimi
Copy link
Contributor

ytmimi commented Jan 31, 2025

@vats004 Sure! You can create a nearly identical PR. The only difference is that we'll need to gate this change on StyleEdition::Edition2027, instead of Version::Two.

@teohhanhui
Copy link

What's the rationale for gating a clear bugfix behind a future edition?

@ytmimi
Copy link
Contributor

ytmimi commented Jan 31, 2025

What's the rationale for gating a clear bugfix behind a future edition?

rustfmt has a strong stability guarantee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to split a line exceeding the maximum width
6 participants