about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-11-26 17:56:05 -0600
committerGitHub <noreply@github.com>2019-11-26 17:56:05 -0600
commit941d9159420123d4a439ff7052f4c08ce33581be (patch)
treed320c81f9aba2ba5d0dfa341ce40302bb98eb3b9 /src/rustllvm/PassWrapper.cpp
parent797fd92628842c1f5face9fb93b0fe4f1f9d297f (diff)
parentb12e142bc5a6f6312ce2fd3305f449d03410a37a (diff)
downloadrust-941d9159420123d4a439ff7052f4c08ce33581be.tar.gz
rust-941d9159420123d4a439ff7052f4c08ce33581be.zip
Rollup merge of #66128 - emilio:new-zeroed, r=SimonSapin
alloc: Add new_zeroed() versions like new_uninit().

MaybeUninit has both uninit() and zeroed(), it seems reasonable to have the same
surface on Box/Rc/Arc.

Needs tests.

cc #63291
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions