1
Fork 0

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
No known key found for this signature in database
GPG key ID: B4087E510E98B164
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>",