diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-09-13 20:21:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-13 20:21:09 +0200 |
| commit | e5389a4a34e640359ef04ebc99962e196c5bfabe (patch) | |
| tree | 586b2de55b3d9dbb5ff1518c6cae447348fdf78a /library/alloc/src/lib.rs | |
| parent | 581524e53777a3721cad1b8c33323e3ef46c8aad (diff) | |
| parent | 4506d26cf39dcde786d4853af133bf26799bf65d (diff) | |
| download | rust-e5389a4a34e640359ef04ebc99962e196c5bfabe.tar.gz rust-e5389a4a34e640359ef04ebc99962e196c5bfabe.zip | |
Rollup merge of #76527 - fusion-engineering-forks:cleanup-uninit, r=jonas-schievink
Remove internal and unstable MaybeUninit::UNINIT. Looks like it is no longer necessary, as `uninit_array()` can be used instead in the few cases where it was needed. (I wanted to just add `#[doc(hidden)]` to remove clutter from the documentation, but looks like it can just be removed entirely.)
Diffstat (limited to 'library/alloc/src/lib.rs')
| -rw-r--r-- | library/alloc/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 48313f9af98..5774ebb9b19 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -100,7 +100,6 @@ #![feature(fn_traits)] #![feature(fundamental)] #![feature(inplace_iteration)] -#![feature(internal_uninit_const)] #![feature(lang_items)] #![feature(layout_for_ptr)] #![feature(libc)] @@ -135,7 +134,7 @@ #![feature(unsized_locals)] #![feature(allocator_internals)] #![feature(slice_partition_dedup)] -#![feature(maybe_uninit_extra, maybe_uninit_slice)] +#![feature(maybe_uninit_extra, maybe_uninit_slice, maybe_uninit_uninit_array)] #![feature(alloc_layout_extra)] #![feature(trusted_random_access)] #![feature(try_trait)] |
