rust/library/alloc
bors a53fb30e3b Auto merge of #78446 - RalfJung:box, r=Amanieu
fix Box::into_unique

https://github.com/rust-lang/rust/pull/77187/ broke Stacked Borrows pointer tagging around `Box::into_unique` (this is caused by `Box` being a special case in the type system, which box-internal code needs to account for). This PR fixes that.

r? `@Amanieu` Cc `@TimDiekmann`

Fixes https://github.com/rust-lang/rust/issues/78419.
2020-10-29 12:08:16 +00:00
..
benches
src Auto merge of #78446 - RalfJung:box, r=Amanieu 2020-10-29 12:08:16 +00:00
tests Check for exhaustion in SliceIndex for RangeInclusive 2020-10-20 17:18:08 -07:00
Cargo.toml