Skip to content

Check if function return type fits before rewriting#6835

Merged
ytmimi merged 1 commit intorust-lang:mainfrom
ytmimi:issue_6831
Mar 21, 2026
Merged

Check if function return type fits before rewriting#6835
ytmimi merged 1 commit intorust-lang:mainfrom
ytmimi:issue_6831

Conversation

@ytmimi
Copy link
Contributor

@ytmimi ytmimi commented Mar 20, 2026

fixes #6831

This fix is gated behind style_edition=2027 because it would impact stable formatting.

fixes rust-lang#6831

This fix is gated behind style_edition=2027 because it would impact
stable formatting.
@rustbot rustbot added the S-waiting-on-review Status: awaiting review from the assignee but also interested parties. label Mar 20, 2026
@ytmimi ytmimi added the A-2027-style-edition Area: style edition 2027 label Mar 20, 2026
@ytmimi ytmimi merged commit bdab101 into rust-lang:main Mar 21, 2026
26 checks passed
@rustbot rustbot added release-notes Needs an associated changelog entry and removed S-waiting-on-review Status: awaiting review from the assignee but also interested parties. labels Mar 21, 2026
@ytmimi ytmimi deleted the issue_6831 branch March 21, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-2027-style-edition Area: style edition 2027 release-notes Needs an associated changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long return type collapsed into one line and then rejected as too long

3 participants