diff options
| author | Linus Färnstrand <faern@faern.net> | 2018-07-20 01:14:56 +0200 |
|---|---|---|
| committer | Linus Färnstrand <faern@faern.net> | 2018-08-08 10:52:10 +0200 |
| commit | 02c272db2d3fd63f564be43ca6b8b76c9ce42186 (patch) | |
| tree | 7966b68a38ddec9e326f3f383eef396b817dbeea /src/libstd/lib.rs | |
| parent | 6f943c0697e88762f1a81f1747226674f725c77f (diff) | |
| download | rust-02c272db2d3fd63f564be43ca6b8b76c9ce42186.tar.gz rust-02c272db2d3fd63f564be43ca6b8b76c9ce42186.zip | |
Make Ipv{4,6}Addr::new const fns
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 2f18719b9eb..6d14a2eeb32 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -252,6 +252,7 @@ #![feature(char_error_internals)] #![feature(compiler_builtins_lib)] #![feature(const_fn)] +#![feature(const_int_ops)] #![feature(core_intrinsics)] #![feature(dropck_eyepatch)] #![feature(exact_size_is_empty)] @@ -281,6 +282,7 @@ #![feature(ptr_internals)] #![feature(raw)] #![feature(rustc_attrs)] +#![feature(rustc_const_unstable)] #![feature(std_internals)] #![feature(stdsimd)] #![feature(shrink_to)] |
