diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2017-12-15 18:58:40 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2017-12-16 06:58:16 +0100 |
| commit | 60dc10492ccdf785678d475172f2653aae9606da (patch) | |
| tree | c144f62864685f7e94caf4bbde3fc034b2f6b327 /src/liballoc_jemalloc | |
| parent | 5a0dc2d06d92d3bef7502d2095cd0d51486d4e12 (diff) | |
| download | rust-60dc10492ccdf785678d475172f2653aae9606da.tar.gz rust-60dc10492ccdf785678d475172f2653aae9606da.zip | |
Move PhantomData<T> from Shared<T> to users of both Shared and #[may_dangle]
After discussing [1] today with @pnkfelix and @Gankro, we concluded that it’s ok for drop checking not to be much smarter than the current `#[may_dangle]` design which requires an explicit unsafe opt-in. [1] https://github.com/rust-lang/rust/issues/27730#issuecomment-316432083
Diffstat (limited to 'src/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions
