diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2025-07-23 09:14:12 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2025-07-23 09:14:12 -0700 |
| commit | 288a5654514938b973a75e0e1de64ee702170661 (patch) | |
| tree | 32575cdc2c6a6a04f722e89f07072598606348bd /compiler/rustc_lint_defs | |
| parent | 5a30e4307f0506bed87eeecd171f8366fdbda1dc (diff) | |
| download | rust-288a5654514938b973a75e0e1de64ee702170661.tar.gz rust-288a5654514938b973a75e0e1de64ee702170661.zip | |
Upgrade semicolon_in_expressions_from_macros from warn to deny
This is already warn-by-default, and a future compatibility warning (FCW) that warns in dependencies. Upgrade it to deny-by-default, as the next step towards hard error.
Diffstat (limited to 'compiler/rustc_lint_defs')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index a08d68e2d15..277a87f9bfc 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -2838,7 +2838,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, - Warn, + Deny, "trailing semicolon in macro body used as expression", @future_incompatible = FutureIncompatibleInfo { reason: FutureIncompatibilityReason::FutureReleaseError, |
