Make SEMICOLON_IN_EXPRESSIONS_FROM_MACROS warn by default

This commit is contained in:
Aaron Hill
2021-07-22 14:28:02 -05:00
parent 3bc9dd0dd2
commit 886dea2bcd
16 changed files with 91 additions and 28 deletions

View File

@@ -2799,7 +2799,7 @@ declare_lint! {
/// [issue #79813]: https://github.com/rust-lang/rust/issues/79813
/// [future-incompatible]: ../index.md#future-incompatible-lints
pub SEMICOLON_IN_EXPRESSIONS_FROM_MACROS,
Allow,
Warn,
"trailing semicolon in macro body used as expression",
@future_incompatible = FutureIncompatibleInfo {
reference: "issue #79813 <https://github.com/rust-lang/rust/issues/79813>",