]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #87020 - RalfJung:const_raw_ptr_to_usize_cast, r=oli-obk
authorYuki Okushi <jtitor@2k36.org>
Sat, 10 Jul 2021 16:15:42 +0000 (01:15 +0900)
committerGitHub <noreply@github.com>
Sat, 10 Jul 2021 16:15:42 +0000 (01:15 +0900)
remove const_raw_ptr_to_usize_cast feature

This feature currently has the strange status of "const-only `unsafe`", which was an experiment that we no longer think is a good idea. We need to find better ways to enable things like "messing with the low bits of a pointer" during CTFE.

r? `@oli-obk`


Trivial merge