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

[nonstandard_macro_braces] Do not modify macro arguments #9499

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

kraktus
Copy link
Contributor

@kraktus kraktus commented Sep 19, 2022

fix #9498

based on top of #9471

Also simplify the lint by not caring about code format which should be rustfmt job, and turn the lint into machine Applicable

changelog: Suggestion: [nonstandard_macro_braces]: The suggestion is now machine applicable and will no longer replace brackets inside the macro argument.
#9499

@rust-highfive
Copy link

r? @xFrednet

(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 Sep 19, 2022
@kraktus kraktus force-pushed the nonstandard_macro_braces branch 3 times, most recently from 52f7f9f to a4144d7 Compare September 19, 2022 16:31
@bors
Copy link
Contributor

bors commented Sep 21, 2022

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

Copy link
Member

@xFrednet xFrednet left a comment

Choose a reason for hiding this comment

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

LGTM, we can merge this after a rebase 🙃 (I was hoping that the other PR would not cause a conflict, sorry 🙃 )

@kraktus
Copy link
Contributor Author

kraktus commented Sep 21, 2022

Thought it would avoid it too! Will rebase tonight

@kraktus
Copy link
Contributor Author

kraktus commented Sep 21, 2022

No time in the end, will see later, this weekend max

@xFrednet
Copy link
Member

That's all right, don't stress yourself. 🙃

@kraktus kraktus force-pushed the nonstandard_macro_braces branch from a4144d7 to a390115 Compare September 22, 2022 14:22
Also simplify the lint by not caring about code format which should be `rustfmt` job, and turn the lint into machine Applicable
@xFrednet
Copy link
Member

Looks good to me, thank you for the rebase 🙃

@bors r+

@bors
Copy link
Contributor

bors commented Sep 22, 2022

📌 Commit a390115 has been approved by xFrednet

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 22, 2022

⌛ Testing commit a390115 with merge 61fd2a8...

@kraktus
Copy link
Contributor Author

kraktus commented Sep 22, 2022

strangely locally git could rebase without any issue 🤔

@bors
Copy link
Contributor

bors commented Sep 22, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 61fd2a8 to master...

@bors bors merged commit 61fd2a8 into rust-lang:master Sep 22, 2022
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.

nonstandard_macro_braces replacing braces in the macro argument
4 participants