Deny (by default) transmuting from fn item types to pointer-sized types.
This commit is contained in:
parent
9316ae515e
commit
7de83f0858
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue