Skip to content

Fix emitting in nested (proc_)macros for nonstandard_macro_braces lint - #7431

Merged
bors merged 1 commit into
rust-lang:masterfrom
DevinR528:fix-macro-brace
Jul 4, 2021
Merged

Fix emitting in nested (proc_)macros for nonstandard_macro_braces lint#7431
bors merged 1 commit into
rust-lang:masterfrom
DevinR528:fix-macro-brace

Conversation

@DevinR528

Copy link
Copy Markdown
Contributor

fixes #7422

changelog: fixes false positives in [nonstandard_macro_braces]

@llogiq

llogiq commented Jul 4, 2021

Copy link
Copy Markdown
Contributor

Thank you! @bors r+

@bors

bors commented Jul 4, 2021

Copy link
Copy Markdown
Contributor

📌 Commit 1d110f8 has been approved by llogiq

@bors

bors commented Jul 4, 2021

Copy link
Copy Markdown
Contributor

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

@bors

bors commented Jul 4, 2021

Copy link
Copy Markdown
Contributor

☀️ 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
Copy Markdown
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

llogiq commented Jul 5, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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