diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index f0ddcdc07e120..b2ee38741fcab 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -157,7 +157,7 @@ declare_lint! { declare_lint! { pub TRANSMUTE_FROM_FN_ITEM_TYPES, - Warn, + Deny, "transmute from function item type to pointer-sized type erroneously allowed" }