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: Insert fn call parens only if the parens inserted around field name #16016

Merged
merged 1 commit into from Dec 5, 2023

Conversation

dfireBird
Copy link
Contributor

Fixes #16014.

Sorry I missed it in previous PR. I've added a test as level to prevent regressions again.
Give any suggestions to improve the test if anything.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 4, 2023
@lnicola
Copy link
Member

lnicola commented Dec 5, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 5, 2023

📌 Commit 20c6f27 has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Dec 5, 2023

⌛ Testing commit 20c6f27 with merge afc1ae1...

@bors
Copy link
Collaborator

bors commented Dec 5, 2023

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing afc1ae1 to master...

@bors bors merged commit afc1ae1 into rust-lang:master Dec 5, 2023
10 checks passed
@dfireBird dfireBird deleted the regression-fix-15879 branch December 5, 2023 16:18
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.

Completing callable fields inside struct initialization will insert parenthesis after field name
4 participants