Mark {array,slice}::{from_ref,from_mut} as const fn
This commit is contained in:
@@ -135,6 +135,8 @@
|
||||
#![feature(ptr_metadata)]
|
||||
#![feature(slice_ptr_get)]
|
||||
#![feature(variant_count)]
|
||||
#![feature(const_array_from_ref)]
|
||||
#![feature(const_slice_from_ref)]
|
||||
//
|
||||
// Language features:
|
||||
#![feature(abi_unadjusted)]
|
||||
|
||||
Reference in New Issue
Block a user