]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #64104 - Mark-Simulacrum:intrinsic-fn-ptr-ice, r=estebank
authorMazdak Farrokhzad <twingoow@gmail.com>
Tue, 3 Sep 2019 12:27:05 +0000 (14:27 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2019 12:27:05 +0000 (14:27 +0200)
Emit error on intrinsic to fn ptr casts

I'm not sure if a type error is the best way of doing this but it seemed like a relatively correct place to do it, and I expect this is a pretty rare case to hit anyway.

Fixes #15694


Trivial merge