Skip to content

Commit f213acf

Browse files
committed
patterns_in_fns_without_body -> deny
1 parent 32a18ec commit f213acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ declare_lint! {
153153

154154
declare_lint! {
155155
pub PATTERNS_IN_FNS_WITHOUT_BODY,
156-
Warn,
156+
Deny,
157157
"patterns in functions without body were erroneously allowed"
158158
}
159159

0 commit comments

Comments
 (0)