diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-02-08 16:33:15 -0800 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-03-07 08:47:15 -0800 |
| commit | 7723506d13a03e3191d407aaf3709f157bf75193 (patch) | |
| tree | 27b21886269f4e03c155a2639c4f30dc1717fe49 /library/alloc/src | |
| parent | d137c3a7bd3b180317044f8ccb9a8b4b3bb07db3 (diff) | |
| download | rust-7723506d13a03e3191d407aaf3709f157bf75193.tar.gz rust-7723506d13a03e3191d407aaf3709f157bf75193.zip | |
Stabilize const_fn_fn_ptr_basics and const_fn_trait_bound
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 82493f9c398..0a180b83355 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -140,7 +140,7 @@ #![feature(box_syntax)] #![feature(cfg_sanitize)] #![feature(const_deref)] -#![feature(const_fn_trait_bound)] +#![cfg_attr(bootstrap, feature(const_fn_trait_bound))] #![feature(const_mut_refs)] #![feature(const_ptr_write)] #![feature(const_precise_live_drops)] |
