]> git.lizzy.rs Git - rust.git/commit
Remove `rustc_allow_const_fn_ptr`
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Thu, 24 Sep 2020 23:15:41 +0000 (16:15 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Sun, 27 Sep 2020 17:46:41 +0000 (10:46 -0700)
commit3cbd17fcc6c5c816b59c1816008b0d4ae3ef2982
tree27f98641c342f8579291774d4fc815d8dece95e8
parent1ff143191c62bc7cfa17da99dac59a871f39a462
Remove `rustc_allow_const_fn_ptr`

This was a hack to work around the lack of an escape hatch for the "min
`const fn`" checks in const-stable functions. Now that we have co-opted
`allow_internal_unstable` for this purpose, we no longer need the
bespoke attribute.
compiler/rustc_attr/src/builtin.rs
compiler/rustc_feature/src/builtin_attrs.rs
compiler/rustc_middle/src/query/mod.rs
compiler/rustc_mir/src/const_eval/fn_queries.rs
compiler/rustc_span/src/symbol.rs
library/core/src/task/wake.rs