Deny (by default) transmuting from fn item types to pointer-sized types.
This commit is contained in:
parent
9316ae515e
commit
7de83f0858
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user