about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-07-23 09:14:12 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-07-23 09:14:12 -0700
commit288a5654514938b973a75e0e1de64ee702170661 (patch)
tree32575cdc2c6a6a04f722e89f07072598606348bd /compiler/rustc_lint_defs
parent5a30e4307f0506bed87eeecd171f8366fdbda1dc (diff)
downloadrust-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.rs2
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,