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 incorrect uninlined_format_args edge case #9588

Closed
wants to merge 1 commit into from

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Oct 4, 2022

An edge case with format arguments being wrapped in parenthesis. This might have been the real reason behind the #9540.

println!("{}", (local_i32));

Note that this changelog line might be irrelevant if the uninlined_format_args itself is added in the same release as this patch.

changelog[uninlined_format_args]: fix minor bug not handling params in parethethis

cc: @Alexendoo

@rust-highfive
Copy link

r? @llogiq

(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 4, 2022
@nyurik
Copy link
Contributor Author

nyurik commented Oct 4, 2022

r? @Alexendoo

@bors
Copy link
Contributor

bors commented Oct 4, 2022

☔ The latest upstream changes (presumably #9547) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented Oct 5, 2022

☔ The latest upstream changes (presumably #9586) made this pull request unmergeable. Please resolve the merge conflicts.

An edge case with format arguments being wrapped in parentesis
@nyurik
Copy link
Contributor Author

nyurik commented Oct 5, 2022

closing because now all tests pass thx to #9586

@nyurik nyurik closed this Oct 5, 2022
@nyurik nyurik deleted the fix-inlining branch October 5, 2022 21:54
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.

5 participants