]> git.lizzy.rs Git - rust.git/commit
Auto merge of #7299 - DevinR528:macro-brace, r=llogiq
authorbors <bors@rust-lang.org>
Sat, 19 Jun 2021 17:56:56 +0000 (17:56 +0000)
committerbors <bors@rust-lang.org>
Sat, 19 Jun 2021 17:56:56 +0000 (17:56 +0000)
commit3120b09151242a2aaf3f5fdf36e6f98e5f6236cc
tree7c6e04f0c80131165835088d3ce4e8aa4a2638d9
parent7869e625572702d4f0a5d92735631c6260484335
parent723f515b6006706b88d22c8edb05330df6365a63
Auto merge of #7299 - DevinR528:macro-brace, r=llogiq

Add macro_braces lint to check for irregular brace use in certain macros

The name is a bit long but this sounds good as `#[allow(unconventional_macro_braces)]` and it seems more clear that we are talking about the macro call not macro definitions, any feedback let me know. Thanks!
fixes #7278

changelog: Add ``[`unconventional_macro_braces`]`` lint that checks for uncommon brace usage with macros.
CHANGELOG.md
clippy_lints/src/lib.rs