make CStr::from_bytes_with_nul_unchecked() a const fn

closes #54678
This commit is contained in:
Austin Bonander
2018-10-02 03:42:01 -07:00
parent e812ca472a
commit 092bf2b500
2 changed files with 12 additions and 1 deletions

View File

@@ -253,6 +253,7 @@
#![feature(min_const_fn)]
#![feature(const_int_ops)]
#![feature(const_ip)]
#![feature(const_raw_ptr_deref)]
#![feature(core_intrinsics)]
#![feature(dropck_eyepatch)]
#![feature(exact_size_is_empty)]