Auto merge of #89551 - jhpratt:stabilize-const_raw_ptr_deref, r=oli-obk
Stabilize `const_raw_ptr_deref` for `*const T` This stabilizes dereferencing immutable raw pointers in const contexts. It does not stabilize `*mut T` dereferencing. This is behind the same feature gate as mutable references. closes https://github.com/rust-lang/rust/issues/51911
This commit is contained in:
commit
d212d902ae
62 changed files with 114 additions and 193 deletions
|
@ -264,7 +264,8 @@
|
|||
#![feature(const_ipv4)]
|
||||
#![feature(const_ipv6)]
|
||||
#![feature(const_option)]
|
||||
#![feature(const_raw_ptr_deref)]
|
||||
#![cfg_attr(bootstrap, feature(const_raw_ptr_deref))]
|
||||
#![cfg_attr(not(bootstrap), feature(const_mut_refs))]
|
||||
#![feature(const_socketaddr)]
|
||||
#![feature(const_trait_impl)]
|
||||
#![feature(container_error_extra)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue