diff options
| author | Ralf Jung <post@ralfj.de> | 2021-04-18 18:36:41 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2021-04-18 18:36:41 +0200 |
| commit | fdad6ab3a3e3f2cdd6bda7f2cc0c7da698ac01a0 (patch) | |
| tree | f2841f4f4c819a75244f2071fefb8e4d78406ef0 /library/alloc/src | |
| parent | 67650104959003d1a5828f8d79ad72aa08752055 (diff) | |
| download | rust-fdad6ab3a3e3f2cdd6bda7f2cc0c7da698ac01a0.tar.gz rust-fdad6ab3a3e3f2cdd6bda7f2cc0c7da698ac01a0.zip | |
move 'trait bounds on const fn' to separate feature gate
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 14cb1d3b405..70ff78d564e 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -90,6 +90,7 @@ #![feature(coerce_unsized)] #![feature(const_btree_new)] #![feature(const_fn)] +#![cfg_attr(not(bootstrap), feature(const_fn_trait_bound))] #![feature(cow_is_borrowed)] #![feature(const_cow_is_borrowed)] #![feature(destructuring_assignment)] |
