From: bors Date: Wed, 1 Mar 2017 10:03:44 +0000 (+0000) Subject: Auto merge of #34198 - eddyb:you're-a-bad-transmute-and-you-should-feel-bad, r=nikoma... X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=691eba1358fc3c9c7a8033314a4112d43680c128;p=rust.git Auto merge of #34198 - eddyb:you're-a-bad-transmute-and-you-should-feel-bad, r=nikomatsakis Make transmuting from fn item types to pointer-sized types a hard error. Closes #19925 by removing the future compatibility lint and the associated workarounds. This is a `[breaking-change]` if you `transmute` from a function item without casting first. For more information on how to fix your code, see https://github.com/rust-lang/rust/issues/19925. --- 691eba1358fc3c9c7a8033314a4112d43680c128