rust/src/libcore/fmt
Mazdak Farrokhzad 5a20745c96
Rollup merge of #62799 - RalfJung:uninit-array, r=Centril
use const array repeat expressions for uninit_array

With a first implementation of https://github.com/rust-lang/rust/issues/49147 having landed, we can make this macro nicer and phase it out with the next bootstrap bump.

However, to make this work, we have to mark `MaybeUninit::uninit()` as promotable. I do feel uneasy about promoting stuff involving uninitialized memory, but OTOH no *operation* on `MaybeUninit` is promotable, so maybe this is okay?

r? @oli-obk @eddyb
2019-07-22 15:32:17 +02:00
..
rt Remove licenses 2018-12-25 21:08:33 -07:00
builders.rs add feature to docs 2019-07-09 08:30:20 +10:00
float.rs do not use mem::uninitialized in std::io 2019-07-19 09:45:38 +02:00
mod.rs Fix meta-variable binding errors in macros 2019-06-23 01:30:41 +02:00
num.rs avoid uninit_array! macro where it is not needed 2019-07-19 17:23:47 +02:00