Deny (by default) transmuting from fn item types to pointer-sized types.

This commit is contained in:
Eduard Burtescu 2016-07-19 20:55:46 +03:00
parent 9316ae515e
commit 7de83f0858

View File

@ -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"
}