Skip to content

Commit

Permalink
Deny (by default) transmuting from fn item types to pointer-sized types.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Jul 26, 2016
1 parent 9316ae5 commit 7de83f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/lint/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 7de83f0

Please sign in to comment.