diff options
| author | bors <bors@rust-lang.org> | 2018-07-28 14:26:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-28 14:26:16 +0000 |
| commit | 26e73dabeb7a15e0e38feb2cadca3c1f740a61d2 (patch) | |
| tree | 9489ee4780c8d54342e84750241f875003fa1d24 /src/liballoc_jemalloc | |
| parent | 5b465e309da475aaedcb742ef29094c82e970051 (diff) | |
| parent | 4e6aea1a10a50fcde27b74edbd99db69bfae724e (diff) | |
| download | rust-26e73dabeb7a15e0e38feb2cadca3c1f740a61d2.tar.gz rust-26e73dabeb7a15e0e38feb2cadca3c1f740a61d2.zip | |
Auto merge of #52711 - eddyb:unsized-manuallydrop, r=nikomatsakis
Change ManuallyDrop<T> to a lang item. This PR implements the approach @RalfJung proposes in https://internals.rust-lang.org/t/pre-rfc-unions-drop-types-and-manuallydrop/8025 (lang item `struct` instead of `union`). A followup PR can easily solve #47034 as well, by just adding a few `?Sized` to `libcore/mem.rs`. r? @nikomatsakis
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
