about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-22 10:58:58 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-11-22 11:01:31 -0800
commitf9ed2199ff5a69b88d43949c138042a42ecd98b5 (patch)
treee023a3070fd6d7703b5fe4ff7b6a23da2b4268a1 /src/liballoc/alloc
parentfcf4bee7d3d69356a9eb702f9e0a9ddba238d33f (diff)
downloadrust-f9ed2199ff5a69b88d43949c138042a42ecd98b5.tar.gz
rust-f9ed2199ff5a69b88d43949c138042a42ecd98b5.zip
Create promoted MIR fragments in `const` and `static`s
The previous strategy of removing `Drop` and `StorageDead` for promoted
locals only worked for rvalue lifetime extension. We now use the same
implementation for promotion across all kinds of items.
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions