diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-22 15:32:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-22 15:32:17 +0200 |
| commit | 5a20745c96c6e39fb45a9d47e350b2569ec5673b (patch) | |
| tree | 810bfac3c62b4226910fa5498a9ca9a7964116ff /src/test/ui/thinlto | |
| parent | 7dafdd21b1581b1992408a0688a8566938f60587 (diff) | |
| parent | f3abbf71035e469fce6db37bdb444ce3e50e870f (diff) | |
| download | rust-5a20745c96c6e39fb45a9d47e350b2569ec5673b.tar.gz rust-5a20745c96c6e39fb45a9d47e350b2569ec5673b.zip | |
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
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
