1
Fork 0

stabilize const_fn_unsize

This commit is contained in:
Ralf Jung 2021-05-08 16:28:29 +02:00
parent 21e1cd9b95
commit 65cd051b4a
14 changed files with 44 additions and 123 deletions

View file

@ -10,8 +10,8 @@
)]
#![feature(box_syntax)]
#![feature(box_patterns)]
// On bootstrap bump, this will likely have to become const_fn_unsize
#![cfg_attr(bootstrap, feature(const_fn))] // For the `transmute` in `P::new`
#![cfg_attr(not(bootstrap), feature(const_fn_unsize))] // For the `transmute` in `P::new`
#![feature(const_fn_transmute)]
#![feature(const_panic)]
#![feature(crate_visibility_modifier)]