core: Make pointer offset methods "const fn"
Signed-off-by: Joe Richey <joerichey@google.com>
This commit is contained in:
parent
08df3116e9
commit
9b3dfd8ea9
4 changed files with 27 additions and 12 deletions
|
|
@ -85,6 +85,7 @@
|
|||
#![feature(const_panic)]
|
||||
#![feature(const_fn_union)]
|
||||
#![feature(const_generics)]
|
||||
#![feature(const_ptr_offset)]
|
||||
#![feature(const_ptr_offset_from)]
|
||||
#![feature(const_result)]
|
||||
#![feature(const_slice_from_raw_parts)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue