diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 05:06:20 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 06:33:54 +0200 |
| commit | 8b57f689d54ff70d13e500e4d6e40c67b21e149e (patch) | |
| tree | 62544c6793f52dac30d6bbe88717d6dd54e450ec /src/liballoc/lib.rs | |
| parent | c798dffac9dc8c82374db48f5b474690cc6e9686 (diff) | |
| download | rust-8b57f689d54ff70d13e500e4d6e40c67b21e149e.tar.gz rust-8b57f689d54ff70d13e500e4d6e40c67b21e149e.zip | |
Use const generics for some Vec/CCow impls.
Diffstat (limited to 'src/liballoc/lib.rs')
| -rw-r--r-- | src/liballoc/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index dbc1f3b47c8..e42d6434725 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -78,6 +78,8 @@ #![feature(cfg_target_has_atomic)] #![feature(coerce_unsized)] #![cfg_attr(not(bootstrap), feature(const_in_array_repeat_expressions))] +#![feature(const_generic_impls_guard)] +#![feature(const_generics)] #![feature(dispatch_from_dyn)] #![feature(core_intrinsics)] #![feature(dropck_eyepatch)] |
