3

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

 2 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/7299
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

DevinR528 commented on May 31

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK