diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-07-19 20:55:46 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-07-26 22:57:02 +0300 |
| commit | 7de83f085856eda5e54bd02713267101ac015c1a (patch) | |
| tree | ddf38e41485331d3b200296b12ffbe93e1d821df /src | |
| parent | 9316ae515e2f8f3f497fb4f1559910c1eef2433d (diff) | |
| download | rust-7de83f085856eda5e54bd02713267101ac015c1a.tar.gz rust-7de83f085856eda5e54bd02713267101ac015c1a.zip | |
Deny (by default) transmuting from fn item types to pointer-sized types.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index 3230a08c276..8db1fd92530 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" } |
