Add rustc_allow_const_fn_unstable annotations to pre-existing Layout methods

This commit is contained in:
Scott McMurray
2022-09-21 13:43:21 -07:00
parent 585bcc6980
commit e2d7cdcf2b
3 changed files with 7 additions and 1 deletions

View File

@@ -148,6 +148,7 @@
#![feature(core_panic)]
#![feature(duration_consts_float)]
#![feature(maybe_uninit_uninit_array)]
#![feature(ptr_alignment_type)]
#![feature(ptr_metadata)]
#![feature(slice_ptr_get)]
#![feature(slice_split_at_unchecked)]