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 emitting in nested (proc_)macros for nonstandard_macro_braces lint #7431

Merged
merged 1 commit into from
Jul 4, 2021

Conversation

DevinR528
Copy link
Contributor

fixes #7422

changelog: fixes false positives in [nonstandard_macro_braces]

@llogiq
Copy link
Contributor

llogiq commented Jul 4, 2021

Thank you! @bors r+

@bors
Copy link
Contributor

bors commented Jul 4, 2021

📌 Commit 1d110f8 has been approved by llogiq

@bors
Copy link
Contributor

bors commented Jul 4, 2021

⌛ Testing commit 1d110f8 with merge 3cc6778...

@bors
Copy link
Contributor

bors commented Jul 4, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 3cc6778 to master...

@bors bors merged commit 3cc6778 into rust-lang:master Jul 4, 2021
@DevinR528
Copy link
Contributor Author

Hope this fixes it, good that it's still in nursery but at least now it's usable. As it was borderline unusable because of the nested macros, oh well thanks, and sorry about that.

@DevinR528 DevinR528 deleted the fix-macro-brace branch July 4, 2021 19:12
@llogiq
Copy link
Contributor

llogiq commented Jul 5, 2021

Yeah, I was about to comment that we should keep an eye on it to see when and if it can leave the nursery.

@DevinR528
Copy link
Contributor Author

Sounds good to me! As soon as it's ready I'll enable it on a very macro (rules/fn like/derive/attribute) heavy project so that should exercise it pretty well, then maybe in a few weeks open a PR.

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

Successfully merging this pull request may close these issues.

False positive in nonstandard_macro_braces involving macros
3 participants