diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-11-22 10:58:58 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-11-22 11:01:31 -0800 |
| commit | f9ed2199ff5a69b88d43949c138042a42ecd98b5 (patch) | |
| tree | e023a3070fd6d7703b5fe4ff7b6a23da2b4268a1 /src/liballoc/alloc | |
| parent | fcf4bee7d3d69356a9eb702f9e0a9ddba238d33f (diff) | |
| download | rust-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
