diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index c5c59b78868f9..7e179f5d3db87 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -153,7 +153,7 @@ declare_lint! { declare_lint! { pub PATTERNS_IN_FNS_WITHOUT_BODY, - Warn, + Deny, "patterns in functions without body were erroneously allowed" }